diff --git a/front/migrations/db/migration_56.sql b/front/migrations/db/migration_56.sql new file mode 100644 index 000000000000..e03e6a6b429a --- /dev/null +++ b/front/migrations/db/migration_56.sql @@ -0,0 +1,8 @@ +ALTER TABLE "agent_data_source_configurations" +DROP CONSTRAINT IF EXISTS "agent_data_source_configurations_dataSourceViewId_fkey"; + +ALTER TABLE "agent_data_source_configurations" +DROP CONSTRAINT IF EXISTS "agent_data_source_configurations_dataSourceViewId_fkey1"; + +ALTER TABLE "agent_data_source_configurations" +ADD FOREIGN KEY ("dataSourceViewId") REFERENCES "data_source_views" ("id") ON DELETE CASCADE ON UPDATE CASCADE; \ No newline at end of file