Sha256: 5537e72a9e56472283efbf85bb15070bd5178cd12c176b7118da075e8e15f419
Contents?: true
Size: 344 Bytes
Versions: 14
Compression:
Stored size: 344 Bytes
Contents
# Creates DATETIME(3) column types by default which support microseconds. # Without it, only regular (second precise) DATETIME columns are created. if defined?(ActiveRecord) module ActiveRecord::ConnectionAdapters if defined?(AbstractMysqlAdapter) AbstractMysqlAdapter::NATIVE_DATABASE_TYPES[:datetime][:limit] = 3 end end end
Version data entries
14 entries across 14 versions & 1 rubygems