Code + Product

Using Python enums in SQLAlchemy models

May 16th, 2018 in SQLAlchemyMySQLPython

How to use enums in your models to enforce value consistency.

Bash script to relink alembic migrations

Jun 12th, 2017 in PythonToolsBashMySQLSQLAlchemy

Sick of `alembic merge heads` slowing down your builds? Here's a short bash script I wrote to rename your migration files and update its down revision.