8 lines
238 B
MySQL
8 lines
238 B
MySQL
|
ALTER TABLE import_run DROP FOREIGN KEY import_run_source;
|
||
|
ALTER TABLE import_run ADD CONSTRAINT import_run_source
|
||
|
FOREIGN KEY import_source (source_id)
|
||
|
REFERENCES import_source (id)
|
||
|
ON DELETE CASCADE
|
||
|
ON UPDATE RESTRICT;
|
||
|
|