commit/galaxy-central: natefoo: Fix for MySQL index lengths in migration script 62. Thanks Leandro Hermida.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/72cbd1ed1a81/ changeset: r5036:72cbd1ed1a81 user: natefoo date: 2011-02-09 22:49:43 summary: Fix for MySQL index lengths in migration script 62. Thanks Leandro Hermida. affected #: 1 file (1 byte) --- a/lib/galaxy/model/migrate/versions/0062_user_openid_table.py Wed Feb 09 16:46:30 2011 -0500 +++ b/lib/galaxy/model/migrate/versions/0062_user_openid_table.py Wed Feb 09 16:49:43 2011 -0500 @@ -40,7 +40,7 @@ ix_name = 'ix_galaxy_user_openid_openid' if migrate_engine.name == 'mysql': - i = "ALTER TABLE galaxy_user_openid ADD UNIQUE INDEX ( openid( 1000 ) )" + i = "ALTER TABLE galaxy_user_openid ADD UNIQUE INDEX ( openid( 255 ) )" db_session.execute( i ) else: i = Index( ix_name, UserOpenID_table.c.openid, unique=True ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket