diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-03-09 20:47:45 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-03-09 20:47:45 +0900 |
commit | 163df5d6a0dd6ac33fd4404867242d50274efa4a (patch) | |
tree | 3f5a1d98a92a7669e1ac989729f2733196bf9098 /activerecord | |
parent | b165d73f2ccd421c9f3518ce9bf5bcb322440cb7 (diff) | |
download | rails-163df5d6a0dd6ac33fd4404867242d50274efa4a.tar.gz rails-163df5d6a0dd6ac33fd4404867242d50274efa4a.tar.bz2 rails-163df5d6a0dd6ac33fd4404867242d50274efa4a.zip |
use same name to type object
Follow up to #24079
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index 61c9628de3..6497b1cc31 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -815,7 +815,7 @@ module ActiveRecord ActiveRecord::Type.register(:bit_varying, OID::BitVarying, adapter: :postgresql) ActiveRecord::Type.register(:binary, OID::Bytea, adapter: :postgresql) ActiveRecord::Type.register(:cidr, OID::Cidr, adapter: :postgresql) - ActiveRecord::Type.register(:date_time, OID::DateTime, adapter: :postgresql) + ActiveRecord::Type.register(:datetime, OID::DateTime, adapter: :postgresql) ActiveRecord::Type.register(:decimal, OID::Decimal, adapter: :postgresql) ActiveRecord::Type.register(:enum, OID::Enum, adapter: :postgresql) ActiveRecord::Type.register(:hstore, OID::Hstore, adapter: :postgresql) |