5 lines
246 B
MySQL
5 lines
246 B
MySQL
|
-- Place your SQL code here
|
||
|
|
||
|
ALTER TABLE floranet.catalogue ADD addressFk int(11) NOT NULL;
|
||
|
ALTER TABLE floranet.catalogue ADD CONSTRAINT catalogue_address_FK FOREIGN KEY (addressFk) REFERENCES vn.address(id) ON DELETE CASCADE ON UPDATE CASCADE;
|