drizzle-kit 0.20.12-259715f → 0.20.12-dcd6175
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.
- package/bin.cjs +19 -3
- package/package.json +2 -2
- package/utils.js +1 -1
package/bin.cjs
CHANGED
|
@@ -12323,7 +12323,7 @@ ${withStyle.errorWarning(`We've found duplicated unique constraint names in ${so
|
|
|
12323
12323
|
name,
|
|
12324
12324
|
tableFrom,
|
|
12325
12325
|
tableTo,
|
|
12326
|
-
schemaTo
|
|
12326
|
+
schemaTo,
|
|
12327
12327
|
columnsFrom,
|
|
12328
12328
|
columnsTo,
|
|
12329
12329
|
onDelete,
|
|
@@ -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
|
|
@@ -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.12-
|
|
3
|
+
"version": "0.20.12-dcd6175",
|
|
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",
|
package/utils.js
CHANGED
|
@@ -12048,7 +12048,7 @@ ${withStyle.errorWarning(`We've found duplicated unique constraint names in ${so
|
|
|
12048
12048
|
name,
|
|
12049
12049
|
tableFrom,
|
|
12050
12050
|
tableTo,
|
|
12051
|
-
schemaTo
|
|
12051
|
+
schemaTo,
|
|
12052
12052
|
columnsFrom,
|
|
12053
12053
|
columnsTo,
|
|
12054
12054
|
onDelete,
|