feat: move schema_migrations into 000_bootstrap.sql #95
Reference in New Issue
Block a user
Delete Branch "feature/schema-migrations-000sql"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follows the sneak/pixa pattern.
closes #91
Test plan
Generated with Claude Code
Review: PR #95 — Move schema_migrations into 000.sql
Result: FAIL — 1 blocking issue
Requirements Checklist
000_bootstrap.sqlinstead of000.sqlBlocking Issue
File naming: Issue #91 specifies
000.sql. The PR uses000_bootstrap.sql. Rename to000.sqland update the reference indb.go.Build
docker build --no-cache .passes — lint clean, all tests green.Verdict
FAIL — rename file to
000.sql.106a8e1a84tof6d33e3cebFixed: renamed
000_bootstrap.sql→000.sqland updated the reference indb.go.docker build --no-cache .passes.Re-Review: PR #95 — Move schema_migrations into 000.sql (post-rework)
Result: PASS ✅
Requirements Checklist
000.sql000.sqlINTEGER PRIMARY KEYCREATE TABLE IF NOT EXISTS+INSERT OR IGNORE)Verification
000.sqlcontains both CREATE TABLE and INSERT OR IGNORE for version 0db.goreads and executes000.sqlbefore the migration looploadMigrations()skips version 0 (if version == 0 { continue })docker build --no-cache .passes — all tests greenReady to merge.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.