Files
talks-site/backend/alembic/README.md
T
2025-06-14 10:03:42 -04:00

450 B

Alembic

Alembic allows for our database migrations to be tracked in a version control system.

To create a new migration run:

alembic revision --autogenerate -m 'Describe change here'

It's best practice to review the script post revision creation: alembic/versions

To apply the migration:

alembic upgrade head

Now you can re-check using alembic check

If we need to rollback use:

alembic downgrade -i