Thank you Michael. I will do that in the future, until there is a supported alembic way for it.
Best, Vitaly On Tuesday, February 10, 2015 at 11:35:37 AM UTC-8, Michael Bayer wrote: > > > > vitaly numenta <vitaly.kru...@gmail.com <javascript:>> wrote: > > > On Tuesday, February 10, 2015 at 7:38:10 AM UTC-8, Michael Bayer wrote: > > > > > > thank you for your quick follow-up and explanation. I was trying to get > something different from alembic; mysql supports this syntax: > > > > ALTER TABLE tbl_name alter_specification, alter_specification, ... > > > > for example: ALTER TABLE `addresses` DROP COLUMN c, DROP COLUMN d, ADD > COLUMN mobile VARCHAR(40); > > > > I would like to be able to do the above in in alembic. > > oh. Well, for now, this is easy, just send out that SQL directly: > > op.execute("ALTER TABLE `addresses` DROP COLUMN c, DROP COLUMN d, ADD > COLUMN mobile VARCHAR(40)”) > > that will solve your problem right now. > > i see your issue report and I don’t have a solution for that right now. > > > -- 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.