Skip to content
Snippets Groups Projects
Commit 6357469c authored by Brian Moe's avatar Brian Moe
Browse files

Fixes #732 auth_user username too short for LIGO users.

parent f0cc5de5
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ class Migration(DataMigration): ...@@ -11,6 +11,7 @@ class Migration(DataMigration):
db.execute("ALTER TABLE ligoauth_ligoldapuser CONVERT TO CHARACTER SET UTF8") db.execute("ALTER TABLE ligoauth_ligoldapuser CONVERT TO CHARACTER SET UTF8")
db.execute("ALTER TABLE auth_user DEFAULT CHARACTER SET UTF8") db.execute("ALTER TABLE auth_user DEFAULT CHARACTER SET UTF8")
db.execute("ALTER TABLE auth_user CONVERT TO CHARACTER SET UTF8") db.execute("ALTER TABLE auth_user CONVERT TO CHARACTER SET UTF8")
db.execute("ALTER TABLE auth_user MODIFY username VARCHAR(100)")
def backwards(self, orm): def backwards(self, orm):
# We can't go back! # We can't go back!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment