• S
    Allow specifying the default table options for mysql adapters · 8246b593
    Sean Griffin 提交于
    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.
    8246b593
migration_test.rb 36.2 KB