aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures/multiple_constant_file.rb
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2016-01-21 11:21:20 -0600
committerschneems <richard.schneeman@gmail.com>2016-01-21 13:19:33 -0600
commit8897e05ea31186bfa2a05fd9658b2dc5a5d6264a (patch)
treef1be6f169008fdb05788bd96746565b73981a947 /activesupport/test/autoloading_fixtures/multiple_constant_file.rb
parent9a99c7cef533e985e67af5de0e65a39f452b7db9 (diff)
downloadrails-8897e05ea31186bfa2a05fd9658b2dc5a5d6264a.tar.gz
rails-8897e05ea31186bfa2a05fd9658b2dc5a5d6264a.tar.bz2
rails-8897e05ea31186bfa2a05fd9658b2dc5a5d6264a.zip
[close #23009] Limit key length
Mysql has a weird bug where it cannot index a string column of utf8mb4 if it is over a certain character limit. To get compatibility with msql we can add a limit to the key column. 191 characters is a very long key, it seems reasonable to limit across all adapters since using a longer key wouldn't be supported in mysql. Thanks to @kamipo for the original PR and the test refactoring. Conversation: https://github.com/rails/rails/pull/23009#issuecomment-171416629
Diffstat (limited to 'activesupport/test/autoloading_fixtures/multiple_constant_file.rb')
0 files changed, 0 insertions, 0 deletions