fix(migrations): remove duplicate column addition#4632
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR removes a duplicate
Confidence Score: 5/5Safe to merge — removes a duplicate DDL statement that would have caused a migration failure on any environment running both 0207 and 0208 in sequence. The change is a single-line deletion of a duplicate ADD COLUMN statement already present in the prior migration. The column definition in 0207 is identical, so no schema intent is lost, and the rest of 0208 is untouched. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant DB as Database
participant M207 as Migration 0207
participant M208 as Migration 0208
M207->>DB: ALTER TABLE copilot_chats ADD COLUMN pinned boolean DEFAULT false NOT NULL
Note over DB: Column pinned created ✓
M208->>DB: CREATE TABLE workspace_file_folders (...)
M208->>DB: DROP INDEX workspace_files_workspace_name_active_unique
M208->>DB: ALTER TABLE workspace_files ADD COLUMN folder_id text
Note over M208,DB: (duplicate ADD COLUMN pinned removed)
M208->>DB: "ADD FK constraints & indexes for workspace_file_folders"
Reviews (1): Last reviewed commit: "Clean up migration" | Re-trigger Greptile |
fix(migrations): remove duplicate column add (fix(migrations): remove duplicate column addition #4632)
Summary
Remove duplicate column addition in migrations
Type of Change
Testing
Manaul
Checklist