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.
Add "create_primary_key_constraint" #93
Michael Bayer (@zzzeek) wrote:
you'd combine schema.AddConstraint() with the schema.PrimaryKeyConstraint() constructs, then pass that to op.execute(). The only inconvenience is that you need to give PKConstraint actual Column objects, and it might complain if there isn't also a Table present.