1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

chage date_time type to datetime`

Since we are using `datetime` in migration, better to use `datetime` is I think that confusion is less.
This commit is contained in:
yuuji.yaginuma 2016-03-06 08:36:10 +09:00
parent ddf4c953ae
commit a7d6aa3893

View file

@ -61,7 +61,7 @@ module ActiveRecord
register(:binary, Type::Binary, override: false) register(:binary, Type::Binary, override: false)
register(:boolean, Type::Boolean, override: false) register(:boolean, Type::Boolean, override: false)
register(:date, Type::Date, override: false) register(:date, Type::Date, override: false)
register(:date_time, Type::DateTime, override: false) register(:datetime, Type::DateTime, override: false)
register(:decimal, Type::Decimal, override: false) register(:decimal, Type::Decimal, override: false)
register(:float, Type::Float, override: false) register(:float, Type::Float, override: false)
register(:integer, Type::Integer, override: false) register(:integer, Type::Integer, override: false)