alembic icon indicating copy to clipboard operation
alembic copied to clipboard

do not rely on reflection applying naming conventions

Open sqlalchemy-bot opened this issue 8 years ago • 1 comments

Migrated issue, originally created by Michael Bayer (@zzzeek)

the naming convention feature added in 735889f068c58f8a278dcfe5bda7496624339026 will require adjustment per SQLAlchemy issue https://bitbucket.org/zzzeek/sqlalchemy/issues/3818/naming-convention-should-not-fire-off-on. Reflection should not be applying naming constraints and Alembic's feature here will need to use some new flag, e.g. apply_naming_conventions. Base this on detection of version 1.2 or whatever we put it in.

sqlalchemy-bot avatar Oct 06 '16 02:10 sqlalchemy-bot

Michael Bayer (@zzzeek) wrote:

specifically, the batch feature turns on naming convention and expects the reflected objects to use those names. batch would need to pass an additional flag to reflection apply_naming_conventions so that it gets the names applied to objects coming back from sqlite.

sqlalchemy-bot avatar Feb 18 '17 00:02 sqlalchemy-bot