Module: Activerecord::Multirange::SchemaStatements

Defined in:
lib/activerecord-multirange/schema_statements.rb

Instance Method Summary collapse

Instance Method Details

#native_database_typesObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/activerecord-multirange/schema_statements.rb', line 6

def native_database_types
  super.merge({
                tsmultirange: { name: "tsmultirange" },
                datemultirange: { name: "datemultirange" },
                tstzmultirange: { name: "tstzmultirange" },
                nummultirange: { name: "nummultirange" },
                int8multirange: { name: "int8multirange" },
                int4multirange: { name: "int4multirange" }
              })
end