mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
8 lines
238 B
SQL
8 lines
238 B
SQL
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;
|
|
|