mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 05:36:00 +00:00
more data types in table editor #285
This commit is contained in:
@@ -36,6 +36,38 @@ const dialect = {
|
||||
isUnsigned: true,
|
||||
isZerofill: true,
|
||||
},
|
||||
|
||||
predefinedDataTypes: [
|
||||
'char(20)',
|
||||
'varchar(250)',
|
||||
'binary(250)',
|
||||
'varbinary(250)',
|
||||
'tinyblob',
|
||||
'tinytext',
|
||||
'text(1000)',
|
||||
'blob(1000)',
|
||||
'mediumtext',
|
||||
'mediumblob',
|
||||
'longtext',
|
||||
'longblob',
|
||||
'enum(val1,val2,val3)',
|
||||
'set(val1,val2,val3)',
|
||||
'bit(32)',
|
||||
'tinyint',
|
||||
'bool',
|
||||
'smallint',
|
||||
'mediumint',
|
||||
'int',
|
||||
'bigint',
|
||||
'float',
|
||||
'double',
|
||||
'decimal',
|
||||
'date',
|
||||
'datetime',
|
||||
'timestamp',
|
||||
'time',
|
||||
'year',
|
||||
],
|
||||
};
|
||||
|
||||
const mysqlDriverBase = {
|
||||
|
||||
Reference in New Issue
Block a user