drizzle-kit 0.24.2-5ccb794 → 0.24.2-87df7e9
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +4 -4
- package/package.json +1 -1
package/bin.cjs
CHANGED
@@ -47578,7 +47578,6 @@ var init_migrate = __esm({
|
|
47578
47578
|
const outFolder = config.out;
|
47579
47579
|
const schemaPath = config.schema;
|
47580
47580
|
try {
|
47581
|
-
assertV3OutFolder(outFolder);
|
47582
47581
|
const snapshots = prepareMigrationFolder(
|
47583
47582
|
outFolder,
|
47584
47583
|
"postgresql"
|
@@ -47677,7 +47676,6 @@ var init_migrate = __esm({
|
|
47677
47676
|
const outFolder = config.out;
|
47678
47677
|
const schemaPath = config.schema;
|
47679
47678
|
try {
|
47680
|
-
assertV3OutFolder(outFolder);
|
47681
47679
|
const snapshots = prepareMigrationFolder(outFolder, "mysql");
|
47682
47680
|
const { prev, cur, custom: custom2 } = await prepareMySqlMigrationSnapshot(
|
47683
47681
|
snapshots,
|
@@ -47722,7 +47720,6 @@ var init_migrate = __esm({
|
|
47722
47720
|
const outFolder = config.out;
|
47723
47721
|
const schemaPath = config.schema;
|
47724
47722
|
try {
|
47725
|
-
assertV3OutFolder(outFolder);
|
47726
47723
|
const snapshots = prepareMigrationFolder(outFolder, "sqlite");
|
47727
47724
|
const { prev, cur, custom: custom2 } = await prepareSqliteMigrationSnapshot(
|
47728
47725
|
snapshots,
|
@@ -82308,6 +82305,7 @@ init_common();
|
|
82308
82305
|
var import_fs11 = require("fs");
|
82309
82306
|
var import_hanji12 = __toESM(require_hanji());
|
82310
82307
|
init_schemaValidator();
|
82308
|
+
init_utils();
|
82311
82309
|
init_global();
|
82312
82310
|
|
82313
82311
|
// ../node_modules/.pnpm/env-paths@3.0.0/node_modules/env-paths/index.js
|
@@ -83381,6 +83379,7 @@ var generate = command({
|
|
83381
83379
|
handler: async (opts) => {
|
83382
83380
|
await assertOrmCoreVersion();
|
83383
83381
|
await assertPackages("drizzle-orm");
|
83382
|
+
assertV3OutFolder(opts.out);
|
83384
83383
|
const {
|
83385
83384
|
prepareAndMigratePg: prepareAndMigratePg2,
|
83386
83385
|
prepareAndMigrateMysql: prepareAndMigrateMysql2,
|
@@ -83409,6 +83408,7 @@ var migrate = command({
|
|
83409
83408
|
handler: async (opts) => {
|
83410
83409
|
await assertOrmCoreVersion();
|
83411
83410
|
await assertPackages("drizzle-orm");
|
83411
|
+
assertV3OutFolder(opts.out);
|
83412
83412
|
const { dialect: dialect7, schema: schema5, table: table4, out, credentials: credentials2 } = opts;
|
83413
83413
|
try {
|
83414
83414
|
if (dialect7 === "postgresql") {
|
@@ -83869,7 +83869,7 @@ init_utils2();
|
|
83869
83869
|
var version2 = async () => {
|
83870
83870
|
const { npmVersion } = await ormCoreVersions();
|
83871
83871
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
83872
|
-
const envVersion = "0.24.2-
|
83872
|
+
const envVersion = "0.24.2-87df7e9";
|
83873
83873
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
83874
83874
|
const versions = `drizzle-kit: ${kitVersion}
|
83875
83875
|
${ormVersion}`;
|