|
ALTER TABLE vn.claimEnd
|
|
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; |