Simplifying PostgreSQL enum migrations with SQLAlchemy and alembic-enums

from blog Roman Imankulov, | ↗ original
do you really need postgresql enums? (Update from 9 Jan 2024) Working with Django reminds me how much less painful enums could be if they were represented by VARCHAR fields at the database level and enforced by Django models at the application level. Inspired by this, in my next SQLAlchemy model, I used the ChoiceType from the sqlalchemy-utils...