storyboard/storyboard/db
Jeremy Stanley 27b208b8a6 For utf8mb4 shorten teams.name and users.email
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
2018-03-27 20:21:07 +00:00
..
api convert list of auth_codes to single value 2018-01-30 16:36:06 -05:00
migration For utf8mb4 shorten teams.name and users.email 2018-03-27 20:21:07 +00:00
__init__.py Add SQLalchemy database model 2014-01-13 18:52:47 +04:00
decorators.py Datetime instances from SQLAlchemy now all contain timezone. 2015-02-17 15:26:47 +03:00
models.py For utf8mb4 shorten teams.name and users.email 2018-03-27 20:21:07 +00:00
projects_loader.py switch from incubated gettextutils to oslo.i18n 2016-11-07 08:47:47 -05:00
superusers_loader.py switch from incubated gettextutils to oslo.i18n 2016-11-07 08:47:47 -05:00