salix/db/versions/11050-wheatAnthurium/00-firstScript.sql

5 lines
246 B
MySQL
Raw Permalink Normal View History

2024-05-14 12:01:13 +00:00
-- 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;