salix/db/versions/11008-orangeCarnation/00-alter.sql

8 lines
293 B
MySQL
Raw Permalink Normal View History

2024-04-23 05:57:37 +00:00
ALTER TABLE vn.parking
ADD CONSTRAINT chkParkingCodeFormat CHECK (CHAR_LENGTH(code) > 4 AND code LIKE '%-%');
2024-04-25 12:28:47 +00:00
ALTER TABLE vn.parking MODIFY COLUMN sectorFk int(11) NOT NULL;
2024-04-23 05:57:37 +00:00
ALTER TABLE vn.shelving
ADD CONSTRAINT chkShelvingCodeFormat CHECK (CHAR_LENGTH(code) <= 4 AND code NOT LIKE '%-%');