more data types in table editor #285

This commit is contained in:
Jan Prochazka
2022-05-22 12:04:59 +02:00
parent 6a35107c5f
commit 09e3be9ec3
7 changed files with 115 additions and 2 deletions

View File

@@ -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} */