Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
alembic_version has no primary key #406
Migrated issue, originally created by Michael Bayer (@zzzeek)
It's odd that we don't put a simple PK on this table and databases like Galera recommend PKs on all tables, in the case of some Percona variant the database won't run on a table without a primary key.
The value itself is unique so we just make that a PK.
Michael Bayer (@zzzeek) wrote:
Add primary key constraint to alembic_version
The alembic_version table, when initially created, now establishes a