Database Migrations #34
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
As suggested by @munir, we should have a migrations system for the database, as it's due to change a lot over the course of development, expecially in the process of developing 2.0.
The migration system should automatically apply any unapplied schema changes to the database when run. Migrations should be performed inside a transaction, so that should an error occur mid-migration, it can be easily reverted without bricking the DB.
schema_migrations
table