Rescale a live economy in one migration
Moving the unit rate means moving every stored figure with it, in one operation, guarded so a resumed run cannot do it twice.
4 entries
Moving the unit rate means moving every stored figure with it, in one operation, guarded so a resumed run cannot do it twice.
Code that queries a column the database does not have fails with an unstyled fatal. A guard that names the missing migration turns that into a two-minute fix.
Operators run SQL by hand. If the runner only trusts its own table, it will later insist fifteen applied migrations are pending and lock them out.
Numbered SQL files, a table of what has run, and a splitter that does not break on semicolons inside strings.