drizzle-kit 0.21.3 → 0.21.4
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 +1 -2
- package/package.json +1 -1
package/bin.cjs
CHANGED
|
@@ -111358,7 +111358,6 @@ var init_connections = __esm({
|
|
|
111358
111358
|
const { drizzle } = await import("drizzle-orm/node-postgres");
|
|
111359
111359
|
const { migrate } = await import("drizzle-orm/node-postgres/migrator");
|
|
111360
111360
|
const client = "url" in credentials2 ? new pg.default.Pool({ connectionString: credentials2.url, max: 1 }) : new pg.default.Pool({ ...credentials2, max: 1 });
|
|
111361
|
-
await client.connect();
|
|
111362
111361
|
const db2 = drizzle(client);
|
|
111363
111362
|
const migrateFn = async (config) => {
|
|
111364
111363
|
return migrate(db2, config);
|
|
@@ -121343,7 +121342,7 @@ var printVersions = async () => {
|
|
|
121343
121342
|
var versions = async () => {
|
|
121344
121343
|
const { npmVersion } = await ormCoreVersions();
|
|
121345
121344
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
|
121346
|
-
const envVersion = "0.21.
|
|
121345
|
+
const envVersion = "0.21.4";
|
|
121347
121346
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
|
121348
121347
|
const versions2 = `drizzle-kit: ${kitVersion}
|
|
121349
121348
|
${ormVersion}`;
|