$ alembic init migrate
sqlalchemy.url = postgresql://root:secret@localhost:5432/migration
Make sure: You have import your models in
env.py
, like this:
from project.models import Base, a_class, b_class
That make sure the a_class
and b_class
will register to alembic integration.
$ alembic stamp head
If you want to colaborate check the project's issues.
- Fork the repository
- Implement your solution
- Commit
- Open a Pull Request
Thanks!