Skip to content

Commit 3e7fb0c

Browse files
committed
Forward MCP requests of organizations moved to v2
1 parent 4c753d3 commit 3e7fb0c

18 files changed

Lines changed: 2933 additions & 19 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE "org_moved_to_v2" (
2+
"org_id" text PRIMARY KEY NOT NULL,
3+
"state" text NOT NULL,
4+
"v2_org_id" text,
5+
"updated_at" timestamp with time zone DEFAULT now() NOT NULL,
6+
CONSTRAINT "org_moved_to_v2_state_check" CHECK ("org_moved_to_v2"."state" in ('moving', 'moved'))
7+
);
8+
--> statement-breakpoint
9+
ALTER TABLE "org_moved_to_v2" ADD CONSTRAINT "org_moved_to_v2_org_id_organizations_id_fk" FOREIGN KEY ("org_id") REFERENCES "public"."organizations"("id") ON DELETE cascade ON UPDATE no action;

0 commit comments

Comments
 (0)