summaryrefslogtreecommitdiffstats
path: root/schema/pgsql-migrations/upgrade_111.sql
blob: e5ea92b60e08946d41edf76fce4463cca957e012 (plain)
1
2
3
4
5
6
7
8
9
10
11
ALTER TABLE import_run
 DROP CONSTRAINT import_run_source,
 ADD CONSTRAINT import_run_source
  FOREIGN KEY (source_id)
  REFERENCES import_source (id)
  ON DELETE CASCADE
  ON UPDATE RESTRICT;

INSERT INTO director_schema_migration
  (schema_version, migration_time)
  VALUES (111, NOW());