autogen primary key renderer uses column.key
instead of column.name
when assembling list of columns
#335
Labels
Milestone
Migrated issue, originally created by Jesse Dhillon (@jessedhillon)
Possibly related to #259
When rendering
PrimaryKeyConstraint
, I've noticed that I have to manually fix the output because the list of columns references each column'skey
property instead ofname
. Reading the SQLAlchemy docs, particularly:~ sqlalchemy.schema.Column.params.name
and
~ sqlalchemy.schema.Column.params.key
it seems that
name
is the correct choice when building aPrimaryKeyConstraint
.The text was updated successfully, but these errors were encountered: