3 lines
184 B
MySQL
3 lines
184 B
MySQL
|
-- Place your SQL code here
|
||
|
ALTER TABLE IF EXISTS vn.flight ADD CONSTRAINT flight_airline_FK FOREIGN KEY (airlineFk)
|
||
|
REFERENCES vn.airline(id) ON DELETE CASCADE ON UPDATE CASCADE;
|