diff options
author | jomo <github@jomo.tv> | 2016-01-29 23:57:44 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2016-01-29 23:57:44 +0100 |
commit | ceaec53d39b6a51135ece76d0ffdc098a3058e08 (patch) | |
tree | e1e00ad064857039dcd127b60faa14e7ff6a5be7 | |
parent | 1a04b3c8822e131536073a48c29b9f4e920733e3 (diff) |
remove mysql 5.6 fix
-rw-r--r-- | config/initializers/mysql_modern_column_type_defaults.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/initializers/mysql_modern_column_type_defaults.rb b/config/initializers/mysql_modern_column_type_defaults.rb index 4189537..1a8e411 100644 --- a/config/initializers/mysql_modern_column_type_defaults.rb +++ b/config/initializers/mysql_modern_column_type_defaults.rb @@ -4,12 +4,6 @@ ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter::NATIVE_DATABASE_TYPES.ta # Decrease default string length from 255 -> 191 chars so *_type columns # can be indexed with utf8mb4 without blowing 767 byte max key length. defaults[:string][:limit] = 191 - - # Use microsecond precision for all timestamps. High-precision times are - # first available in MySQL 5.6, but default to second precision for - # backward compatibility. - defaults[:datetime][:limit] = 6 - defaults[:time][:limit] = 6 end |