{"repo":"pallets-eco/flask-alembic","free":true,"listed":false,"github":"https://github.com/pallets-eco/flask-alembic","clone":"git clone https://github.com/pallets-eco/flask-alembic.git","description":"Integrate Alembic with Flask.","language":"Python","stars":47,"topics":["python","flask","sqlalchemy","alembic","flask-sqlalchemy","database","migrations","flask-sqlalchemy-lite"],"license":"MIT","category":"databases-storage","readme_excerpt":"Flask-Alembic Flask-Alembic is a [Flask][] extension that provides a configurable [Alembic][] database migration environment. Supports [Flask-SQLAlchemy], [Flask-SQLAlchemy-Lite], or plain [SQLAlchemy]. Supports Alembic's single and multiple database templates. [Flask]: https://flask.palletsprojects.com [Alembic]: https://alembic.sqlalchemy.org [SQLAlchemy]: https://www.sqlalchemy.org [Flask-SQLAlchemy]: https://flask-sqlalchemy.palletsprojects.com [Flask-SQLAlchemy-Lite]: https://flask-sqlalchemy-lite.readthedocs.io Pallets Community Ecosystem [!IMPORTANT]\\ This project is part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of Flask extensions. If you are interested in helping maintain this project, please reach out on [the Pallets Discord server][discord]. [discord]: https://discord.gg/pallets Basic Usage You've created a Flask application and some models with Flask-SQLAlchemy. Now start using Flask-Alembic: Commands are added to the flask CLI: You can also access Alembic's functionality from Python: Differences from Alembic - Configuration is taken from Flask.config instead of alembic.ini and env.py . - Engines and model/table metadata are taken from Flask-SQLAlchemy(-Lite) if available, or can be configured manually. - The migrations are stored directly in the migrations folder instead of the versions folder. - Provides the migration environment instead of env.py and exposes Alemb","default_branch":null,"files":null,"tree":[],"storefront":"/r/pallets-eco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pallets-eco/flask-alembic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}