drizzle-kit 0.23.2-3d4e79a → 0.23.2-505c62f
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +79 -0
- package/api.js +413 -380
- package/api.mjs +413 -380
- package/bin.cjs +3942 -49629
- package/package.json +26 -3
- package/utils.js +5 -0
- package/utils.mjs +4 -0
package/package.json
CHANGED
@@ -1,7 +1,30 @@
|
|
1
1
|
{
|
2
2
|
"name": "drizzle-kit",
|
3
|
-
"version": "0.23.2-
|
4
|
-
"
|
3
|
+
"version": "0.23.2-505c62f",
|
4
|
+
"homepage": "https://orm.drizzle.team",
|
5
|
+
"keywords": [
|
6
|
+
"drizzle",
|
7
|
+
"orm",
|
8
|
+
"pg",
|
9
|
+
"mysql",
|
10
|
+
"postgresql",
|
11
|
+
"postgres",
|
12
|
+
"sqlite",
|
13
|
+
"database",
|
14
|
+
"sql",
|
15
|
+
"typescript",
|
16
|
+
"ts",
|
17
|
+
"drizzle-kit",
|
18
|
+
"migrations",
|
19
|
+
"schema"
|
20
|
+
],
|
21
|
+
"publishConfig": {
|
22
|
+
"provenance": true
|
23
|
+
},
|
24
|
+
"repository": {
|
25
|
+
"type": "git",
|
26
|
+
"url": "git+https://github.com/drizzle-team/drizzle-orm.git"
|
27
|
+
},
|
5
28
|
"author": "Drizzle Team",
|
6
29
|
"license": "MIT",
|
7
30
|
"bin": {
|
@@ -57,7 +80,7 @@
|
|
57
80
|
"dockerode": "^3.3.4",
|
58
81
|
"dotenv": "^16.0.3",
|
59
82
|
"drizzle-kit": "0.21.2",
|
60
|
-
"drizzle-orm": "
|
83
|
+
"drizzle-orm": "workspace:./drizzle-orm/dist",
|
61
84
|
"env-paths": "^3.0.0",
|
62
85
|
"esbuild-node-externals": "^1.9.0",
|
63
86
|
"eslint": "^8.57.0",
|
package/utils.js
CHANGED
@@ -568,6 +568,7 @@ __export(utils_exports, {
|
|
568
568
|
columnRenameKey: () => columnRenameKey,
|
569
569
|
copy: () => copy,
|
570
570
|
dryJournal: () => dryJournal,
|
571
|
+
isPgArrayType: () => isPgArrayType,
|
571
572
|
kloudMeta: () => kloudMeta,
|
572
573
|
normaliseSQLiteUrl: () => normaliseSQLiteUrl,
|
573
574
|
objectValues: () => objectValues,
|
@@ -5738,12 +5739,16 @@ var normaliseSQLiteUrl = (it, type) => {
|
|
5738
5739
|
}
|
5739
5740
|
assertUnreachable(type);
|
5740
5741
|
};
|
5742
|
+
function isPgArrayType(sqlType) {
|
5743
|
+
return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
|
5744
|
+
}
|
5741
5745
|
// Annotate the CommonJS export names for ESM import in node:
|
5742
5746
|
0 && (module.exports = {
|
5743
5747
|
assertV1OutFolder,
|
5744
5748
|
columnRenameKey,
|
5745
5749
|
copy,
|
5746
5750
|
dryJournal,
|
5751
|
+
isPgArrayType,
|
5747
5752
|
kloudMeta,
|
5748
5753
|
normaliseSQLiteUrl,
|
5749
5754
|
objectValues,
|
package/utils.mjs
CHANGED
@@ -5720,11 +5720,15 @@ var normaliseSQLiteUrl = (it, type) => {
|
|
5720
5720
|
}
|
5721
5721
|
assertUnreachable(type);
|
5722
5722
|
};
|
5723
|
+
function isPgArrayType(sqlType) {
|
5724
|
+
return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
|
5725
|
+
}
|
5723
5726
|
export {
|
5724
5727
|
assertV1OutFolder,
|
5725
5728
|
columnRenameKey,
|
5726
5729
|
copy,
|
5727
5730
|
dryJournal,
|
5731
|
+
isPgArrayType,
|
5728
5732
|
kloudMeta,
|
5729
5733
|
normaliseSQLiteUrl,
|
5730
5734
|
objectValues,
|