possible bug in ANSIColumnGenerator

1 view
Skip to first unread message

erikj

unread,
Dec 31, 2010, 4:51:12 AM12/31/10
to migrate-users
Hi,

I believe there is a bug in ANSIColumnGenerator, line 109 :

this statement :

ix = Index(column.index_name,
column,
unique=bool(column.index_name or column.index))

will always create a unique index, even if that is not requested, I
think this should be :

ix = Index(column.index_name,
column,
unique=bool(column.unique_name or
column.unique))

Best regards,

Erik

Jerry

unread,
Dec 31, 2010, 1:48:01 PM12/31/10
to migrate-users
This bug has been fixed 6 months ago at the bitbucket repository --
http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=94

Time to package a new release?

Jerry

erikj

unread,
Jan 2, 2011, 10:52:39 AM1/2/11
to migrate-users
oops, I didn't notice, thx !

On Dec 31 2010, 7:48 pm, Jerry <jerryji1...@gmail.com> wrote:
> This bug has been fixed 6 months ago at the bitbucket repository --http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=94
Reply all
Reply to author
Forward
0 new messages