Diff work incorrect with the same field names in different models
Bug #1611314 reported by
ХулиGUN
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sqlalchemy-migrate |
New
|
Undecided
|
Unassigned |
Bug Description
If two different models have same field names eg
class ModelOne(Base):
__tablename__ = 'model_one'
fieldname = Column(Integer)
class ModelOne(Base):
__tablename__ = 'model_two'
fieldname = Column(String)
With use api.make_
line 220, in genB2AMigration
for modelCol, databaseCol in td.columns_
ValueError: too many values to unpack
To post a comment you must log in.