mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
more data types in table editor #285
This commit is contained in:
@@ -40,6 +40,36 @@ const dialect = {
|
||||
isSparse: true,
|
||||
isPersisted: true,
|
||||
},
|
||||
|
||||
predefinedDataTypes: [
|
||||
'bigint',
|
||||
'bit',
|
||||
'decimal(10,2)',
|
||||
'int',
|
||||
'money',
|
||||
'numeric',
|
||||
'smallint',
|
||||
'smallmoney',
|
||||
'tinyint',
|
||||
'float',
|
||||
'real',
|
||||
'date',
|
||||
'datetime2',
|
||||
'datetime',
|
||||
'datetimeofffset',
|
||||
'smalldatetime',
|
||||
'time',
|
||||
'char(20)',
|
||||
'varchar(250)',
|
||||
'text',
|
||||
'nchar(20)',
|
||||
'nvarchar(250)',
|
||||
'ntext',
|
||||
'binary(100)',
|
||||
'varbinary(100)',
|
||||
'image',
|
||||
'xml',
|
||||
],
|
||||
};
|
||||
|
||||
/** @type {import('dbgate-types').EngineDriver} */
|
||||
|
||||
Reference in New Issue
Block a user