Database migrations #15

Open
opened 2026-07-02 19:49:36 +02:00 by ahtlon · 0 comments
Owner

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/

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/
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malobeo/gatekeeper#15