2 lines
201 B
MySQL
2 lines
201 B
MySQL
|
ALTER TABLE vn.packingSite ADD parkingFk int(11) NULL;
|
||
|
ALTER TABLE vn.packingSite ADD CONSTRAINT packingSite_FK_3 FOREIGN KEY (parkingFk) REFERENCES vn.parking(id) ON DELETE CASCADE ON UPDATE SET NULL;
|