Files
gpt-pilot/core/db/migrations
LeonOstrez ee66f2a7d1 merge main
2025-05-23 13:47:51 +02:00
..
2025-05-23 13:47:51 +02:00
2024-05-22 21:42:25 +02:00
2024-05-22 21:42:25 +02:00

Pythagora uses Alembic for database migrations.

After changing any of the database models, create a new migration:

    alembic -c core/db/alembic.ini revision --autogenerate -m "description"

Migrations are applied automatically when the application starts, but can also be
run manually with:

    alembic -c core/db/alembic.ini upgrade head