Skip to content
Draft
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- Drop the unique constraint on task_id to allow multiple workspaces per task
DROP INDEX IF EXISTS `workspaces_taskId_unique`;--> statement-breakpoint
-- Add a non-unique index for query performance
CREATE INDEX `workspaces_task_id_idx` ON `workspaces` (`task_id`);--> statement-breakpoint
-- Add label column for display name (e.g., "posthog-js")
ALTER TABLE `workspaces` ADD `label` text;
Loading
Loading