mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
more data types in table editor #285
This commit is contained in:
@@ -32,6 +32,52 @@ const dialect = {
|
||||
dropCheck: true,
|
||||
|
||||
dropReferencesWhenDropTable: true,
|
||||
|
||||
predefinedDataTypes: [
|
||||
'bigint',
|
||||
'bigserial',
|
||||
'bit',
|
||||
'varbit',
|
||||
'boolean',
|
||||
'box',
|
||||
'bytea',
|
||||
'char(20)',
|
||||
'varchar(250)',
|
||||
'cidr',
|
||||
'circle',
|
||||
'date',
|
||||
'double precision',
|
||||
'inet',
|
||||
'int',
|
||||
'interval',
|
||||
'json',
|
||||
'jsonb',
|
||||
'line',
|
||||
'lseg',
|
||||
'macaddr',
|
||||
'macaddr8',
|
||||
'money',
|
||||
'numeric(10,2)',
|
||||
'path',
|
||||
'pg_lsn',
|
||||
'pg_snapshot',
|
||||
'point',
|
||||
'polygon',
|
||||
'real',
|
||||
'smallint',
|
||||
'smallserial',
|
||||
'serial',
|
||||
'text',
|
||||
'time',
|
||||
'timetz',
|
||||
'timestamp',
|
||||
'timestamptz',
|
||||
'tsquery',
|
||||
'tsvector',
|
||||
'txid_snapshot',
|
||||
'uuid',
|
||||
'xml',
|
||||
],
|
||||
};
|
||||
|
||||
const postgresDriverBase = {
|
||||
|
||||
Reference in New Issue
Block a user