Block a user
Move schema_migrations table creation into 000.sql with INTEGER version column
1. Bootstrap migration renamed to
Rework Summary
Fixed both review findings from PR #172:
1. Bootstrap migration renamed to 000_migration.sql
Renamed `internal/database/migra…
Move schema_migrations table creation into 000.sql with INTEGER version column
Review: PR #172 — Move schema_migrations table creation into 000.sql
Policy Divergences
**1. Bootstrap migration filename violates REPO_POLICI…
Move schema_migrations table creation into 000.sql with INTEGER version column
refactor: extract magic byte detection into internal/magic package
Review: PASS ✅
Clean extraction of magic byte detection into internal/magic/ package.
Checklist
refactor: extract magic byte detection into internal/magic package
feat: move schema_migrations into 000_bootstrap.sql
Re-Review: PR #95 — Move schema_migrations into 000.sql (post-rework)
Result: PASS ✅
Requirements Checklist
feat: move schema_migrations into 000_bootstrap.sql
Fixed: renamed 000_bootstrap.sql → 000.sql and updated the reference in db.go. docker build --no-cache . passes.
feat: move schema_migrations into 000_bootstrap.sql
Review: PR #95 — Move schema_migrations into 000.sql
Result: FAIL — 1 blocking issue
Requirements Checklist
feat: move schema_migrations into 000_bootstrap.sql