Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/cloud/drizzle/0005_integration_descriptions.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ALTER TABLE "integration" ALTER COLUMN "description" DROP NOT NULL;--> statement-breakpoint
ALTER TABLE "connection" ADD COLUMN "description" text;--> statement-breakpoint
ALTER TABLE "connection" ADD COLUMN "tools_synced_at" bigint;--> statement-breakpoint
ALTER TABLE "integration" ADD COLUMN "name" text;--> statement-breakpoint
ALTER TABLE "integration" ADD COLUMN "config_revised_at" bigint;--> statement-breakpoint
-- Pre-split rows kept the display name in `description`. Move it to `name`
-- (its proper home), then clear `description` so it no longer carries a
-- duplicated title — it now means an actual, optional description.
UPDATE "integration" SET "name" = "description" WHERE "name" IS NULL;--> statement-breakpoint
UPDATE "integration" SET "description" = NULL;
Loading
Loading