alembic migration fails with duplicate column on postgres
Alembic 1.13 on Postgres 15. A migration adding a column fails on a second run: psycopg2.errors.DuplicateColumn: column "status" of relation "users" already exists I thought Alembic tracked which migrations ran via alembic_version. Why did it try to add the column twice? I'm fairly new to Alembic, so I might be missing something obvious about how the version table is supposed to work.
4 replies