Support unsigned types (#177)

This commit is contained in:
1ilit
2024-08-04 17:02:29 +03:00
parent 1df8e4d4e0
commit 2f1cca13d6
6 changed files with 48 additions and 2 deletions

View File

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

View File

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