Remove migrations

This commit is contained in:
Siddharth Ganesan
2026-03-04 10:48:12 -08:00
parent d1575927a2
commit 161fb37244
10 changed files with 0 additions and 49928 deletions

View File

@@ -1,4 +0,0 @@
ALTER TABLE "copilot_chats" ALTER COLUMN "workflow_id" DROP NOT NULL;--> statement-breakpoint
ALTER TABLE "copilot_chats" ADD COLUMN "workspace_id" text;--> statement-breakpoint
ALTER TABLE "copilot_chats" ADD CONSTRAINT "copilot_chats_workspace_id_workspace_id_fk" FOREIGN KEY ("workspace_id") REFERENCES "public"."workspace"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
CREATE INDEX "copilot_chats_user_workspace_idx" ON "copilot_chats" USING btree ("user_id","workspace_id");

View File

@@ -1 +0,0 @@
ALTER TABLE "mcp_servers" ADD COLUMN "copilot_enabled" boolean DEFAULT false NOT NULL;

View File

@@ -1,2 +0,0 @@
ALTER TYPE "public"."usage_log_source" ADD VALUE 'mothership_block';--> statement-breakpoint
ALTER TABLE "mcp_servers" DROP COLUMN "copilot_enabled";

View File

@@ -1,7 +0,0 @@
DO $$ BEGIN
CREATE TYPE "public"."chat_type" AS ENUM('mothership', 'copilot');
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
ALTER TABLE "copilot_chats" ADD COLUMN "type" "public"."chat_type" DEFAULT 'copilot' NOT NULL;

View File

@@ -1,2 +0,0 @@
CREATE TYPE "public"."chat_type" AS ENUM('mothership', 'copilot');--> statement-breakpoint
ALTER TABLE "copilot_chats" ADD COLUMN "type" "chat_type" DEFAULT 'copilot' NOT NULL;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1114,34 +1114,6 @@
"when": 1771897746619,
"tag": "0159_magical_marten_broadcloak",
"breakpoints": true
},
{
"idx": 160,
"version": "7",
"when": 1771970593817,
"tag": "0160_mushy_viper",
"breakpoints": true
},
{
"idx": 161,
"version": "7",
"when": 1772217895286,
"tag": "0161_true_songbird",
"breakpoints": true
},
{
"idx": 162,
"version": "7",
"when": 1772482049606,
"tag": "0162_early_bloodscream",
"breakpoints": true
},
{
"idx": 163,
"version": "7",
"when": 1772567614060,
"tag": "0163_pink_gambit",
"breakpoints": true
}
]
}