i am using the latest version (alembic 0.7.3). I still have the same error
even after adding the user_module_prefix configuration. it still uses sa.
as a prefix for types from sqlalchemy_utils.
On Monday, January 5, 2015 6:11:35 PM UTC+1, Michael Bayer wrote:
Ons mriba...@gmail.com
Well, the logic currently does this to determine if the type is a SQLAlchemy
type:
elif mod.startswith(sqlalchemy):
prefix = _sqlalchemy_autogenerate_prefix(autogen_context)
return %s%r % (prefix, type_)
else:
prefix = _user_autogenerate_prefix(autogen_context,
Hello,
I have a sqlalchemy model to which i want to add a column using alembic :
from sqlalchemy_utils import UUIDType
new_column = Column(UUIDType, primary_key=True)
When i run alembic revision --autogenerate, it generates a migration script
but when i run alembic upgrade head it throws the
Ons mribah@gmail.com wrote:
Hello,
I have a sqlalchemy model to which i want to add a column using alembic :
from sqlalchemy_utils import UUIDType
new_column = Column(UUIDType, primary_key=True)
When i run alembic revision --autogenerate, it generates a migration script
but