3 lines
233 B
MySQL
3 lines
233 B
MySQL
|
ALTER TABLE vn.entry ADD invoiceAmount DECIMAL(10,2) DEFAULT NULL;
|
||
|
ALTER TABLE vn.entry ADD buyerFk INT(10) unsigned NULL;
|
||
|
ALTER TABLE vn.entry ADD CONSTRAINT entry_FK FOREIGN KEY (buyerFk) REFERENCES vn.worker(id) ON UPDATE CASCADE;
|