salix/db/versions/10930-wheatDendro/00-firstScript.sql

3 lines
184 B
MySQL
Raw Permalink Normal View History

-- 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;