@nocobase/database 2.0.32 → 2.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,7 +23,7 @@ declare const fieldTypeMap: {
|
|
|
23
23
|
real: string;
|
|
24
24
|
'double precision': string;
|
|
25
25
|
'timestamp without time zone': string;
|
|
26
|
-
'timestamp with time zone': string;
|
|
26
|
+
'timestamp with time zone': string[];
|
|
27
27
|
'time without time zone': string;
|
|
28
28
|
date: string;
|
|
29
29
|
boolean: string;
|
|
@@ -63,7 +63,7 @@ declare const fieldTypeMap: {
|
|
|
63
63
|
decimal: string;
|
|
64
64
|
year: string[];
|
|
65
65
|
datetime: string[];
|
|
66
|
-
timestamp: string;
|
|
66
|
+
timestamp: string[];
|
|
67
67
|
json: string[];
|
|
68
68
|
enum: string;
|
|
69
69
|
};
|
|
@@ -72,7 +72,7 @@ declare const fieldTypeMap: {
|
|
|
72
72
|
varchar: string[];
|
|
73
73
|
integer: string;
|
|
74
74
|
real: string;
|
|
75
|
-
datetime: string;
|
|
75
|
+
datetime: string[];
|
|
76
76
|
date: string;
|
|
77
77
|
time: string;
|
|
78
78
|
boolean: string;
|
|
@@ -105,7 +105,7 @@ declare const fieldTypeMap: {
|
|
|
105
105
|
decimal: string;
|
|
106
106
|
year: string[];
|
|
107
107
|
datetime: string[];
|
|
108
|
-
timestamp: string;
|
|
108
|
+
timestamp: string[];
|
|
109
109
|
json: string[];
|
|
110
110
|
enum: string;
|
|
111
111
|
};
|
|
@@ -45,7 +45,7 @@ const postgres = {
|
|
|
45
45
|
real: "float",
|
|
46
46
|
"double precision": "float",
|
|
47
47
|
"timestamp without time zone": "datetimeNoTz",
|
|
48
|
-
"timestamp with time zone": "datetimeTz",
|
|
48
|
+
"timestamp with time zone": ["datetimeTz", "date"],
|
|
49
49
|
"time without time zone": "time",
|
|
50
50
|
date: "dateOnly",
|
|
51
51
|
boolean: "boolean",
|
|
@@ -84,8 +84,8 @@ const mysql = {
|
|
|
84
84
|
boolean: "boolean",
|
|
85
85
|
decimal: "decimal",
|
|
86
86
|
year: ["string", "integer"],
|
|
87
|
-
datetime: ["datetimeNoTz", "datetimeTz"],
|
|
88
|
-
timestamp: "datetimeTz",
|
|
87
|
+
datetime: ["datetimeNoTz", "datetimeTz", "date"],
|
|
88
|
+
timestamp: ["datetimeTz", "date"],
|
|
89
89
|
json: ["json", "array"],
|
|
90
90
|
enum: "string"
|
|
91
91
|
};
|
|
@@ -94,7 +94,7 @@ const sqlite = {
|
|
|
94
94
|
varchar: ["string", "uuid", "nanoid", "encryption"],
|
|
95
95
|
integer: "integer",
|
|
96
96
|
real: "real",
|
|
97
|
-
datetime: "datetimeTz",
|
|
97
|
+
datetime: ["datetimeTz", "date"],
|
|
98
98
|
date: "date",
|
|
99
99
|
time: "time",
|
|
100
100
|
boolean: "boolean",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/database",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.33",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@nocobase/logger": "2.0.
|
|
10
|
-
"@nocobase/utils": "2.0.
|
|
9
|
+
"@nocobase/logger": "2.0.33",
|
|
10
|
+
"@nocobase/utils": "2.0.33",
|
|
11
11
|
"async-mutex": "^0.3.2",
|
|
12
12
|
"chalk": "^4.1.1",
|
|
13
13
|
"cron-parser": "4.4.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
39
39
|
"directory": "packages/database"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "718994b7979f35ad7ab0ad86f49592b19048f948"
|
|
42
42
|
}
|