salix/db/versions/11444-orangeMastic/01-firstScript.sql

9 lines
292 B
MySQL
Raw Normal View History

ALTER TABLE vn.claimEnd
2025-02-24 17:13:56 +00:00
MODIFY COLUMN claimDestinationFk tinyint(3) unsigned NOT NULL DEFAULT 1;
ALTER TABLE vn.claimEnd
ADD CONSTRAINT fk_claimEnd_claimDestination
FOREIGN KEY (claimDestinationFk)
REFERENCES claimDestination(id)
ON UPDATE CASCADE
ON DELETE RESTRICT;