Skip to content

Commit

Permalink
fix: delete org and user workflows (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnithin authored Nov 22, 2024
1 parent 34cdc21 commit 484898d
Show file tree
Hide file tree
Showing 36 changed files with 7,654 additions and 539 deletions.
7 changes: 7 additions & 0 deletions controlplane/migrations/0108_dazzling_iron_lad.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ALTER TABLE "subgraphs" DROP CONSTRAINT "subgraphs_schema_version_id_schema_versions_id_fk";
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "subgraphs" ADD CONSTRAINT "subgraphs_schema_version_id_schema_versions_id_fk" FOREIGN KEY ("schema_version_id") REFERENCES "public"."schema_versions"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
Loading

0 comments on commit 484898d

Please sign in to comment.