Homec4science

Shorten Phriction slug field to 256 to avoid key length issues in UTF-8 default…

Authored by epriestley <git@epriestley.com> on Jan 13 2012, 21:07.

Description

Shorten Phriction slug field to 256 to avoid key length issues in UTF-8 default databases

Summary: This is a stopgap patch until we fix T345/T327 properly, but you can't
add a 512-character key to a UTF-8 column because it creates an index on more
than 767 bytes, which is the key length limit.

Test Plan: Ran schmea upgrade script.

Reviewers: indiefan, btrahan, jungejason

Reviewed By: jungejason

CC: aran, epriestley, xela, jungejason

Maniphest Tasks: T327

Differential Revision: https://secure.phabricator.com/D1391

Details

Committed
epriestley <git@epriestley.com>Jan 14 2012, 00:25
Pushed
aubortJan 31 2017, 17:16
Parents
rPHcedb0c045ad7: Lock down accepted next URI values for redirect after login
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH13bf353f1425: Shorten Phriction slug field to 256 to avoid key length issues in UTF-8 default… (authored by epriestley <git@epriestley.com>).Jan 14 2012, 00:25