module DataMapper::PostgresTypes::ClassMethods
Public Instance Methods
type_map()
click to toggle source
Calls superclass method
# File lib/dm-postgres-types.rb, line 46 def type_map postgres_types = { Property::PgHStore => { primitive: 'HSTORE' }, Property::PgNumericArray => { primitive: "NUMERIC" }, Property::PgArray => { primitive: "TEXT" }, Property::PgJSON => { primitive: 'JSON' } } super.merge(postgres_types).freeze end