argos/docs/developer/migrations.md

379 B

Adding a database migration

We are using Alembic to handle the database migrations. Here is how to proceed in order to add a new migration:

First, do your changes in the code, change the model, add new tables, etc. Once you're done, you can create a new migration.

venv/bin/alembic revision --autogenerate -m "migration reason"