Alembic - Basic Usage

This is not tutorial - it’s my understanding! If I’m worng - let me know. Before dive into the tutorial - first read Alembic getting started manual. Setup After you setup your working enviroment ( env, pip, sqlalchemy etc. ) run: $ alembic init alembic This command will add alembic folder ( with banch of folder and files in it ) and alembic.ini file. In alembic.ini change sqlalchemy.url variable in [alembic] section to your database connection string....

August 12, 2023