Hard Prerequisites |
|
Here’s the official tutorial. It’s really quite good.
First, learn what a migration is: https://alembic.sqlalchemy.org/en/latest/tutorial.html
Now learn how to make them automatically: https://alembic.sqlalchemy.org/en/latest/autogenerate.html