Alembic Utils
Documentation: https://olirice.github.io/alembic_utils
Source Code: https://github.com/olirice/alembic_utils
Alembic is the defacto migration tool for use with SQLAlchemy. Without extensions, alembic can detect local changes to SQLAlchemy models and autogenerate a database migration or "revision" script. That revision can be applied to update the database's schema to match the SQLAlchemy model definitions.
Alembic Utils is an extension to alembic that adds support for autogenerating a larger number of PostgreSQL entity types, including functions, views, materialized views, triggers, and policies.
Visit the quickstart guide for usage instructions.
—— ——