Database migrations #15
Reference in New Issue
Block a user
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?
Every time i change the db model I have to wipe everything in the db and start over. This is fine in dev since theres no real data but becomes a problem when we continue to develop after deployment.
It seems the reccomended solution for this is Alembic https://lucasgabrielb.com/en/posts/alembic-and-sqlmodel-database-migrations-in-python/