Closed StevonStevoff closed 1 year ago
I have integrated alembic into the codebase so that we can migrate the database on making any changes to the models without having to delete the database.
This can be done by running these two commands from inside the backend directory:
alembic revision --autogenerate -m "Test Migration"
alembic upgrade head
I have integrated alembic into the codebase so that we can migrate the database on making any changes to the models without having to delete the database.
This can be done by running these two commands from inside the backend directory: