Documentation
¶
Overview ¶
Command migrate applies database migrations in order and records what it did.
Migrations are forward-only and each runs in its own transaction, so a failure leaves the schema at the last complete migration rather than half-applied (db/migrations/README.md).
It is deliberately small. A migration tool that can roll back encourages destructive down-migrations, and plan section 16.2 requires backwards compatible changes plus a pre-deploy backup instead.
Click to show internal directories.
Click to hide internal directories.