Add option to declare an array

This commit is contained in:
1ilit
2024-07-05 22:28:44 +03:00
parent 9b606114df
commit c005020048
6 changed files with 45 additions and 13 deletions

View File

@@ -19,6 +19,7 @@ export const databases = {
image: postgresImage,
hasTypes: true,
hasEnums: true,
hasArrays: true,
},
[DB.SQLITE]: {
name: "SQLite",

View File

@@ -1087,15 +1087,6 @@ const postgresTypesBase = {
hasQuotes: true,
noDefault: true,
},
ARRAY: {
type: "ARRAY",
checkDefault: (field) => true,
hasCheck: false,
isSized: false,
hasPrecision: false,
hasQuotes: false,
noDefault: true,
},
};
export const postgresTypes = new Proxy(postgresTypesBase, {