salix/db/versions/11158-redRaphis/00-firstScript.sql

6 lines
284 B
MySQL
Raw Normal View History

2024-07-17 14:09:09 +00:00
-- Place your SQL code here
2024-07-17 14:21:37 +00:00
ALTER TABLE IF EXISTS vn.itemShelvingSaleReserve ADD sectorFk int(11) NULL;
ALTER TABLE IF EXISTS vn.itemShelvingSaleReserve ADD CONSTRAINT itemShelvingSaleReserve_sector_FK FOREIGN KEY (id) REFERENCES vn.sector(id) ON DELETE RESTRICT ON UPDATE CASCADE;