Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs on generating db migrations and working with alembic #636

Open
olevski opened this issue Feb 6, 2025 · 0 comments
Open

Improve docs on generating db migrations and working with alembic #636

olevski opened this issue Feb 6, 2025 · 0 comments

Comments

@olevski
Copy link
Member

olevski commented Feb 6, 2025

Also it would be nice if possible to add some (or all) of these commands in the Makefile.

DUMMY_STORES=true poetry run alembic --name common revision --autogenerate -m "some message about the migration"
DUMMY_STORES=true poetry run alembic --name common upgrade head
DUMMY_STORES=true poetry run alembic --name common history

Other info that should just be in a readme somehwere:

  • how to register your orm base class so that alembic can autogenerate migrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant