-
-
Notifications
You must be signed in to change notification settings - Fork 307
Closed
Labels
Milestone
Description
Migrated issue, originally created by Corwin Tanner
If you alter the type of a column that has autoincrement=True, the resulting revision produces an alter_column operation without the autoincrement argument like so:
op.alter_column('table', 'column', existing_type=mysql.BIGINT(display_width=20, unsigned=True), type_=mysql.INTEGER(unsigned=True))
This produces an ALTER statement that removes the AUTO_INCREMENT property of the column.