Curated developer articles, tutorials, and guides – auto-updated hourly


A backfill migration used SELECT * and INSERT ... SELECT, so a column added six months later silentl...


A single idle transaction, one ALTER TABLE queued behind it, and every read on the table queued behi...


SQLite supports a fraction of ALTER TABLE and fails the rest at run time, in every environment. What...


We asked a coding agent for forty ordinary Postgres migrations and ran the free rule set over the re...


Coding agents write database migrations quickly and confidently, and the mistakes they make are the ...


The four ways a credential gets into a migration file, what happens to it after the commit, and why ...


The most searched migration error in Postgres, what actually happens inside the server when it runs,...


Why a migration canary matters Schema changes used to be a single-team problem: run a...


A column drop is safe in the schema and fatal in the running code. The two-release pattern that sepa...


A plain ADD CONSTRAINT ... FOREIGN KEY validates every row while holding locks on the child and the ...


Letting the model drive is fine. Letting it drive into production without a gate is not. A short, pr...
![Single File Web App SQLite [2026]: Migrations + Backups That Work](https://media2.dev.to/dynamic/image/width=1200,height=627,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4jmdyz7soiorgz5fzwo2.png)

“One binary + one database file” is a great deployment model until you hit migrations under load and...