Skip to content

Commit

Permalink
[front] fix: Remove duplicate constraint (#6720)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier authored Aug 9, 2024
1 parent c29ccc9 commit c16ee19
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions front/migrations/db/migration_56.sql
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit c16ee19

Please sign in to comment.