27b208b8a6
Because the InnoDB default max key length is 767 bytes in MySQL 2.5 and 2.6, switch teams.name and users.email columns from top_large_length (255 characters) to top_middle_length (100 characters). These are probably still sane lengths for these fields and gets them below the 767/4=191 mark so that we can continue to set them unique under utf8mb4. Also, set the default database-wide character set to utf8mb4 so that any new tables will inherit this. While modifying a migration is generally taboo, this was the last to merge and couldn't have applied successfully in production without this modification anyway. Change-Id: I6a571ac78f917866c14f541283e2bc0738ecf4c9 |
||
---|---|---|
.. | ||
api | ||
migration | ||
__init__.py | ||
decorators.py | ||
models.py | ||
projects_loader.py | ||
superusers_loader.py |