mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Support unsigned types (#177)
This commit is contained in:
@@ -13,6 +13,7 @@ export const databases = new Proxy(
|
||||
label: DB.MYSQL,
|
||||
image: mysqlImage,
|
||||
hasTypes: false,
|
||||
hasUnsignedTypes: true,
|
||||
},
|
||||
[DB.POSTGRES]: {
|
||||
name: "PostgreSQL",
|
||||
@@ -33,6 +34,7 @@ export const databases = new Proxy(
|
||||
label: DB.MARIADB,
|
||||
image: mariadbImage,
|
||||
hasTypes: false,
|
||||
hasUnsignedTypes: true,
|
||||
},
|
||||
[DB.MSSQL]: {
|
||||
name: "MSSQL",
|
||||
|
||||
@@ -279,6 +279,7 @@ const mysqlTypesBase = {
|
||||
isSized: false,
|
||||
hasPrecision: false,
|
||||
canIncrement: true,
|
||||
signed: true,
|
||||
},
|
||||
SMALLINT: {
|
||||
type: "SMALLINT",
|
||||
@@ -289,6 +290,7 @@ const mysqlTypesBase = {
|
||||
isSized: false,
|
||||
hasPrecision: false,
|
||||
canIncrement: true,
|
||||
signed: true,
|
||||
},
|
||||
MEDIUMINT: {
|
||||
type: "MEDIUMINT",
|
||||
@@ -299,6 +301,7 @@ const mysqlTypesBase = {
|
||||
isSized: false,
|
||||
hasPrecision: false,
|
||||
canIncrement: true,
|
||||
signed: true,
|
||||
},
|
||||
INTEGER: {
|
||||
type: "INTEGER",
|
||||
@@ -309,6 +312,7 @@ const mysqlTypesBase = {
|
||||
isSized: false,
|
||||
hasPrecision: false,
|
||||
canIncrement: true,
|
||||
signed: true,
|
||||
},
|
||||
BIGINT: {
|
||||
type: "BIGINT",
|
||||
@@ -319,6 +323,7 @@ const mysqlTypesBase = {
|
||||
isSized: false,
|
||||
hasPrecision: false,
|
||||
canIncrement: true,
|
||||
signed: true,
|
||||
},
|
||||
DECIMAL: {
|
||||
type: "DECIMAL",
|
||||
|
||||
Reference in New Issue
Block a user