1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
pub mod const_types {
    pub const VARCHAR: &str = "character varying";
    pub const INT: &str = "integer";
    pub const SMALLINT: &str = "smallint";
    pub const BIGINT: &str = "bigint";
    pub const DECIMAL: &str = "numeric";
    pub const REAL: &str = "real";
    pub const DOUBLE: &str = "double precision";
    pub const TIMESTAMP: &str = "timestamp without time zone";
    pub const DATE: &str = "date";
    pub const TIME: &str = "time without time zone";
    pub const INTERVAL: &str = "interval";
    pub const CHAR: &str = "character";
    pub const TEXT: &str = "text";
    pub const BYTE: &str = "bytea";
    pub const BOOLEAN: &str = "boolean";

}