chore: mysql unsigned number field

This commit is contained in:
Chareice 2024-01-19 14:09:12 +08:00
parent 817177c196
commit cbbe21cd7b
No known key found for this signature in database

View File

@ -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',