mirror of https://github.com/rails/rails
parent
b165d73f2c
commit
163df5d6a0
|
@ -47,7 +47,7 @@ module ActiveModel
|
|||
register(:binary, Type::Binary)
|
||||
register(:boolean, Type::Boolean)
|
||||
register(:date, Type::Date)
|
||||
register(:date_time, Type::DateTime)
|
||||
register(:datetime, Type::DateTime)
|
||||
register(:decimal, Type::Decimal)
|
||||
register(:float, Type::Float)
|
||||
register(:immutable_string, Type::ImmutableString)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue