Closed GoogleCodeExporter closed 8 years ago
Please ignore/close this one as well. It was another sqlalchemy 6.0beta1 change
that
caught me off guard. Sorry for the red-herrings.
Original comment by eiken...@gmail.com
on 10 Feb 2010 at 11:22
Actually there is a bug regarding the unexpected generic types. A patch is
attached.
Also in case of an ENUM() field a CheckConstraint instance exists in the
table's reflected constraints (SA 0.6.0). This is not
valid/relevant as
a) MySQL does not support CHECK CONSTRAINT (though would not choke on it)
b) its representation is "CheckConstraint()" but CheckConstraint.__init()
requires an argument.
This, however, is more of an SA issue than an sqlautocode issue, I guess. A
workaround is to ignore it, just like
sqlalchemy.PrimaryKeyConstraint.
Best,
Thomas Wiebe
Original comment by thwi...@gmail.com
on 26 May 2010 at 7:05
Attachments:
Original comment by spamsch@gmail.com
on 30 Oct 2010 at 1:36
Original issue reported on code.google.com by
eiken...@gmail.com
on 10 Feb 2010 at 10:57