Dual-block migration structure in database.js duplicates every migration entry #59
Labels
No Label
architecture
backend
bug
feature
frontend
priority:critical
priority:high
priority:low
priority:medium
priority:nice-to-have
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/BillTracker#59
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Severity: MEH ⚪
Affected Files
db/database.js—reconcileLegacyMigrationsandrunMigrationsProblem
reconcileLegacyMigrationsandrunMigrationsboth define the same migration set. A missed sync between the two blocks would silently break rollback or the applied-check.As migrations grow (currently at v0.64 with rollback paths), the risk of a missed sync increases. This is a maintenance landmine.
Impact
Fix Options
Object.keys(reconcileMigrations)matchesObject.keys(runMigrations)Acceptance Criteria