I have something similar to this setup
from sqlalchemy.ext.declarative import declared_attr
class BaseClass(object):
@declared_attr
def created_by
return created_by = sa.Column(sa.Integer(), sa.ForeignKey())
class RealDBObject(BaseClass):
Alembic with autogenerate always likes to create drop/create on the
created_by constraint for every table that uses the mixin. Is this
something that can be adjusted or am I missing something?
Thanks!
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.