Re: Rename an existing constraint

2017-08-30 Thread Mike Bayer
On Wed, Aug 30, 2017 at 7:18 AM, wrote: > Given an Alembic migration, would you recommend the following code to rename > constraints? > > from alembic import op > import sqlalchemy as sa > from srv.orm.meta import NAMING_CONVENTION # as per Pylons cookiecutter > template

Re: Rename an existing constraint

2017-08-30 Thread jens . troeger
Given an Alembic migration, would you recommend the following code to rename constraints? from alembic import op import sqlalchemy as sa