module Granite::Adapter::Pg::Schema

Defined in:

adapter/pg.cr

Constant Summary

TYPES = {"Float32" => "REAL", "Float64" => "DOUBLE PRECISION", "String" => "TEXT", "AUTO_Int32" => "SERIAL", "AUTO_Int64" => "BIGSERIAL", "AUTO_UUID" => "UUID", "UUID" => "UUID", "created_at" => "TIMESTAMP", "updated_at" => "TIMESTAMP", "Array(String)" => "TEXT[]", "Array(Int16)" => "SMALLINT[]", "Array(Int32)" => "INT[]", "Array(Int64)" => "BIGINT[]", "Array(Float32)" => "REAL[]", "Array(Float64)" => "DOUBLE PRECISION[]", "Array(Bool)" => "BOOLEAN[]"}