Commit 2f049c66 authored by Robert Speicher's avatar Robert Speicher

Match mysql_set_length_for_binary_indexes to CE

parent dc5bbea9
# This patches ActiveRecord so indexes for binary columns created # This patches ActiveRecord so indexes for binary columns created using the
# using the MySQL adapter apply a length of 20. Otherwise MySQL can't create an # MySQL adapter apply a length of 20. Otherwise MySQL can't create an index on
# index on binary columns. # binary columns.
module MysqlSetLengthForBinaryIndexAndIgnorePostgresOptionsForSchema module MysqlSetLengthForBinaryIndexAndIgnorePostgresOptionsForSchema
# This method is used in Rails 5 schema loading as t.index # This method is used in Rails 5 schema loading as t.index
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment