drizzle-kit 0.20.12 → 0.20.13
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +19 -3
- package/package.json +2 -2
package/bin.cjs
CHANGED
@@ -60218,6 +60218,9 @@ var init_studioUtils = __esm({
|
|
60218
60218
|
dialect: "pg",
|
60219
60219
|
db,
|
60220
60220
|
proxy,
|
60221
|
+
raw: (sql2) => {
|
60222
|
+
return client.query(sql2).then((it) => it.rows);
|
60223
|
+
},
|
60221
60224
|
schema: pgSchema4,
|
60222
60225
|
relations: relations4,
|
60223
60226
|
ts
|
@@ -60241,6 +60244,10 @@ var init_studioUtils = __esm({
|
|
60241
60244
|
dialect: "mysql",
|
60242
60245
|
db,
|
60243
60246
|
proxy,
|
60247
|
+
raw: async (sql2) => {
|
60248
|
+
const [rows] = await client.execute(sql2, []);
|
60249
|
+
return rows;
|
60250
|
+
},
|
60244
60251
|
schema: mysqlSchema4,
|
60245
60252
|
relations: relations4,
|
60246
60253
|
ts
|
@@ -60261,6 +60268,9 @@ var init_studioUtils = __esm({
|
|
60261
60268
|
dialect: "sqlite",
|
60262
60269
|
db,
|
60263
60270
|
proxy,
|
60271
|
+
raw: (sql2) => {
|
60272
|
+
throw new Error("Not implemented for D1");
|
60273
|
+
},
|
60264
60274
|
schema: sqliteSchema2,
|
60265
60275
|
relations: relations4,
|
60266
60276
|
ts
|
@@ -60280,6 +60290,9 @@ var init_studioUtils = __esm({
|
|
60280
60290
|
dialect: "sqlite",
|
60281
60291
|
db,
|
60282
60292
|
proxy,
|
60293
|
+
raw: (sql2) => {
|
60294
|
+
return Promise.resolve(client.prepare(sql2).all());
|
60295
|
+
},
|
60283
60296
|
schema: sqliteSchema2,
|
60284
60297
|
relations: relations4,
|
60285
60298
|
ts
|
@@ -60304,6 +60317,9 @@ var init_studioUtils = __esm({
|
|
60304
60317
|
dialect: "sqlite",
|
60305
60318
|
db,
|
60306
60319
|
proxy,
|
60320
|
+
raw: (sql2) => {
|
60321
|
+
return client.execute(sql2).then((it) => it.rows.map((row) => Object.values(row)));
|
60322
|
+
},
|
60307
60323
|
schema: sqliteSchema2,
|
60308
60324
|
relations: relations4,
|
60309
60325
|
ts
|
@@ -62083,7 +62099,7 @@ init_source();
|
|
62083
62099
|
// package.json
|
62084
62100
|
var package_default = {
|
62085
62101
|
name: "drizzle-kit",
|
62086
|
-
version: "0.20.
|
62102
|
+
version: "0.20.13",
|
62087
62103
|
repository: "https://github.com/drizzle-team/drizzle-kit-mirror",
|
62088
62104
|
author: "Drizzle Team",
|
62089
62105
|
license: "MIT",
|
@@ -62139,7 +62155,7 @@ var package_default = {
|
|
62139
62155
|
]
|
62140
62156
|
},
|
62141
62157
|
dependencies: {
|
62142
|
-
"@drizzle-team/studio": "^0.0.
|
62158
|
+
"@drizzle-team/studio": "^0.0.39",
|
62143
62159
|
"@esbuild-kit/esm-loader": "^2.5.5",
|
62144
62160
|
camelcase: "^7.0.1",
|
62145
62161
|
chalk: "^5.2.0",
|
@@ -63514,7 +63530,7 @@ var introspectPgCommand = new import_commander.Command("introspect:pg").option("
|
|
63514
63530
|
journal,
|
63515
63531
|
_meta,
|
63516
63532
|
outFolder: validatedConfig.out,
|
63517
|
-
breakpoints: validatedConfig.breakpoints,
|
63533
|
+
breakpoints: validatedConfig.breakpoints ?? false,
|
63518
63534
|
type: "introspect"
|
63519
63535
|
});
|
63520
63536
|
} else {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "drizzle-kit",
|
3
|
-
"version": "0.20.
|
3
|
+
"version": "0.20.13",
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
5
5
|
"author": "Drizzle Team",
|
6
6
|
"license": "MIT",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
]
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
|
-
"@drizzle-team/studio": "^0.0.
|
59
|
+
"@drizzle-team/studio": "^0.0.39",
|
60
60
|
"@esbuild-kit/esm-loader": "^2.5.5",
|
61
61
|
"camelcase": "^7.0.1",
|
62
62
|
"chalk": "^5.2.0",
|