diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2014-11-19 19:59:14 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-01-02 22:30:07 +0900 |
commit | ae419af6667125662a4324e8809e2a15aad686d2 (patch) | |
tree | 1c409ffe6c52ec65ed13b6a9657cfede3748741f /activerecord/test/schema | |
parent | b63382ec062730699ddda50bf4aeec49cb2f60af (diff) | |
download | rails-ae419af6667125662a4324e8809e2a15aad686d2.tar.gz rails-ae419af6667125662a4324e8809e2a15aad686d2.tar.bz2 rails-ae419af6667125662a4324e8809e2a15aad686d2.zip |
Allow precision option for MySQL datetimes.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index a9c2b1d112..5907d6ef97 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -726,7 +726,7 @@ ActiveRecord::Schema.define do t.string :author_name t.string :author_email_address if mysql_56? - t.datetime :written_on, limit: 6 + t.datetime :written_on, precision: 6 else t.datetime :written_on end |