3 lines
193 B
MySQL
3 lines
193 B
MySQL
|
ALTER TABLE vn.state DROP FOREIGN KEY state_ibfk_1;
|
||
|
ALTER TABLE vn.state ADD CONSTRAINT state_ibfk_1 FOREIGN KEY (alertLevel) REFERENCES vn.alertLevel(id) ON DELETE RESTRICT ON UPDATE CASCADE;
|