remove mysql 5.6 fix
This commit is contained in:
@@ -4,12 +4,6 @@ ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter::NATIVE_DATABASE_TYPES.ta
|
|||||||
# Decrease default string length from 255 -> 191 chars so *_type columns
|
# Decrease default string length from 255 -> 191 chars so *_type columns
|
||||||
# can be indexed with utf8mb4 without blowing 767 byte max key length.
|
# can be indexed with utf8mb4 without blowing 767 byte max key length.
|
||||||
defaults[:string][:limit] = 191
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user