Skip to content

Commit 827587c

Browse files
CodingAnarchyclaude
andcommitted
fix: Fix unterminated dollar-quoted string in migration 012
- Properly terminate DO $$ block with separate END; and $$; statements - Fixes PostgreSQL syntax error preventing migration execution 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 925b67e commit 827587c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/migrations/012_optimize_dependencies.postgres.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ BEGIN
6767
RAISE EXCEPTION 'Data migration failed: % depends_on and % dependents records were not migrated',
6868
unmigrated_depends_on, unmigrated_dependents;
6969
END IF;
70-
END $$;
70+
END;
71+
$$;
7172

7273
-- Step 4: Create indexes on new array columns (before dropping old ones)
7374
CREATE INDEX IF NOT EXISTS idx_hammerwork_jobs_depends_on_array

0 commit comments

Comments
 (0)