drop_constraint etc. should check for name=None and emit informative error message since this is common w/ autogenerate #588
Labels
missing behavior
not quite a feature and not quite a bug, somehting we need to support
naming convention issues
op directives
I made migration with alembic revision --autogenerate which contains addition of foreign key:
Upgrade works great, but when I tried to downgrade I got issue:
if len(ident) > self.max_identifier_length: TypeError: object of type 'NoneType' has no len() at sqlalchemy/engine/default.py, line 444.
If I manually specify foreign key it works perfectly:
Is this behaviour is issue?
The text was updated successfully, but these errors were encountered: