aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-11-19 09:30:18 -0700
committerSean Griffin <sean@seantheprogrammer.com>2015-11-19 09:38:27 -0700
commit8246b593bff71f2cebf274c133bb8917f1e094c8 (patch)
tree0499bf109010d3c96becd121141dacbe39f5bcc5 /actionmailer
parent7e200f2973fd063b4819bfc584ef7b4b3e66603d (diff)
downloadrails-8246b593bff71f2cebf274c133bb8917f1e094c8.tar.gz
rails-8246b593bff71f2cebf274c133bb8917f1e094c8.tar.bz2
rails-8246b593bff71f2cebf274c133bb8917f1e094c8.zip
Allow specifying the default table options for mysql adapters
It's often the case that you want to have an option that you cannot specify at the database level, but want applied to *all* tables that you create. For example, you might want to specify `ROW_FORMAT=DYNAMIC` to not have to limit text columns to length 171 for indexing when using utf8mb4. This allows an easy way to specify this in your database configuration. While this change affects both MySQL and MySQL2, the test only covers MySQL2, as the legacy mysql adapter appears to always return ASCII strings, and is tangential to what we're actually doing.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions