mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 01:45:53 +00:00
chore: mysql unsigned number field
This commit is contained in:
parent
817177c196
commit
cbbe21cd7b
@ -36,6 +36,11 @@ const mysql = {
|
||||
smallint: ['integer', 'boolean'],
|
||||
tinyint: ['integer', 'boolean'],
|
||||
mediumint: ['integer', 'boolean'],
|
||||
|
||||
'smallint unsigned': ['integer', 'boolean'],
|
||||
'tinyint unsigned': ['integer', 'boolean'],
|
||||
'mediumint unsigned': ['integer', 'boolean'],
|
||||
|
||||
char: 'string',
|
||||
date: 'date',
|
||||
time: 'time',
|
||||
@ -43,8 +48,10 @@ const mysql = {
|
||||
text: 'text',
|
||||
longtext: 'text',
|
||||
int: 'integer',
|
||||
'int unsigned': 'integer',
|
||||
integer: 'integer',
|
||||
bigint: 'bigInt',
|
||||
'bigint unsigned': 'bigInt',
|
||||
float: 'float',
|
||||
double: 'float',
|
||||
boolean: 'boolean',
|
||||
|
Loading…
Reference in New Issue
Block a user