7 lines
256 B
MySQL
7 lines
256 B
MySQL
|
ALTER TABLE vn.claimEnd
|
||
|
MODIFY COLUMN claimDestinationFk tinyint(3) unsigned NOT NULL,
|
||
|
ADD CONSTRAINT fk_claimEnd_claimDestination
|
||
|
FOREIGN KEY (claimDestinationFk)
|
||
|
REFERENCES claimDestination(id)
|
||
|
ON UPDATE CASCADE
|
||
|
ON DELETE CASCADE;
|