it’s not implemented yet. you’d need to use create_primary_key outside of the batch context for now.
vitaly numenta <vitaly.krugl.nume...@gmail.com> wrote: > Using alembic 0.7.4 with mysql on Mac OS X > > I get a NotImplementedError exception when calling > batch_op.create_primary_key within batch_alter_table context > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy-alembic" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy-alembic+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sqlalchemy-alembic" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy-alembic+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.