Contributions very welcome!
The database is just a cache, we store no 'original' information. For that reason, it's fine to make changes to the database layout without making neat migrations. When you have pulled a branch with a different database layout, just drop your database file and repopulate it with the new layout. Perhaps set it aside as a backup when you switch branches a lot.
To change the database layout:
diesel migration revert
migrations/main/up.sql(and, if needed, to
diesel migration run(this step will also update
diesel migration redo
cargo buildand fix all compiler errors (you'll likely want to update
src/models.rsand take it from there)