{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"Extends Alembic to automatically detect and manage PostgreSQL enum types during schema migrations, handling creation, modification, and deletion of enums and their values.","skillfed_tags":["postgresql","schema-migration","orm"],"use_cases":["Automatically generate migrations when adding a new PostgreSQL enum column to an existing table","Track and apply enum value additions or deletions across your codebase without manual SQL","Clean up unused enum types from PostgreSQL when they are removed from your models","Maintain consistency between SQLAlchemy enum definitions and the PostgreSQL schema during team development","Avoid manual enum creation and deletion SQL in migration files by letting autogenerate handle it"],"what_it_does":"This package hooks into Alembic's autogenerate process to detect when enums are created, modified, or removed from your SQLAlchemy models, then generates migration code to keep your PostgreSQL schema in sync. When you import the package in your migrations/env.py file, it registers custom comparators that watch for enum changes. If you add a new enum column to a model, Alembic will generate migration code that creates the enum type in PostgreSQL before creating the column. If you remove an enum column, the migration will drop the unused enum. If enum values change, the migration generates sync operations to update the type definition.\n\nThe package automates enum creation, removal, addition and deletion of enum values, reordering of enum values, and deletion of unused enums from schema. Enum value renaming requires manual migration editing.","worth_installing":"Yes. If you use Alembic with PostgreSQL enums, this package eliminates a significant manual step in migration generation. It has no known vulnerabilities, low install friction, active maintenance, and permissive MIT licensing. The only limitation is that enum value renames require manual migration editing."},"id":"alembic-postgresql-enum","links":{"html":"https://skillfed.io/packages/alembic-postgresql-enum","md":"https://skillfed.io/packages/alembic-postgresql-enum.md","pypi":"https://pypi.org/project/alembic-postgresql-enum/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-23","license_spdx":"MIT","license_treatment":"permissive","name":"alembic-postgresql-enum","python_support":"supports_current","summary":"Alembic autogenerate support for creation, alteration and deletion of enums"},"popularity":{"monthly_downloads":2882201,"position":2845,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.10.0"}
