storyboard/storyboard/db/migration/alembic_migrations
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
..
versions For utf8mb4 shorten teams.name and users.email 2018-03-27 20:21:07 +00:00
README Add SQLalchemy database model 2014-01-13 18:52:47 +04:00
__init__.py Remove extraneous vim configuration comments 2014-02-13 14:00:48 +08:00
env.py Remove extraneous vim configuration comments 2014-02-13 14:00:48 +08:00
script.py.mako Add SQLalchemy database model 2014-01-13 18:52:47 +04:00

README

Generic single-database configuration.