drizzle-kit 0.25.0-f026b0e → 0.25.0-ff1e9a5
Sign up to get free protection for your applications and to get access to all the features.
- package/api.js +23 -3
- package/api.mjs +23 -3
- package/bin.cjs +1 -1
- package/package.json +1 -1
package/api.js
CHANGED
@@ -110370,7 +110370,7 @@ var init_monodriver = __esm({
|
|
110370
110370
|
"use strict";
|
110371
110371
|
importError = (libName) => {
|
110372
110372
|
throw new Error(
|
110373
|
-
`Please install '${libName}'
|
110373
|
+
`Please install '${libName}' to allow Drizzle ORM to connect to the database`
|
110374
110374
|
);
|
110375
110375
|
};
|
110376
110376
|
}
|
@@ -110707,8 +110707,24 @@ var init_migrator14 = __esm({
|
|
110707
110707
|
}
|
110708
110708
|
});
|
110709
110709
|
|
110710
|
-
// ../drizzle-orm/dist/
|
110710
|
+
// ../drizzle-orm/dist/pglite/migrator.js
|
110711
|
+
var migrator_exports14 = {};
|
110712
|
+
__export(migrator_exports14, {
|
110713
|
+
migrate: () => migrate14
|
110714
|
+
});
|
110711
110715
|
async function migrate14(db2, config) {
|
110716
|
+
const migrations = readMigrationFiles(config);
|
110717
|
+
await db2.dialect.migrate(migrations, db2.session, config);
|
110718
|
+
}
|
110719
|
+
var init_migrator15 = __esm({
|
110720
|
+
"../drizzle-orm/dist/pglite/migrator.js"() {
|
110721
|
+
"use strict";
|
110722
|
+
init_migrator();
|
110723
|
+
}
|
110724
|
+
});
|
110725
|
+
|
110726
|
+
// ../drizzle-orm/dist/monomigrator.js
|
110727
|
+
async function migrate15(db2, config) {
|
110712
110728
|
switch (db2.constructor[entityKind]) {
|
110713
110729
|
case "AwsDataApiPgDatabase": {
|
110714
110730
|
const { migrate: migrate22 } = await Promise.resolve().then(() => (init_migrator2(), migrator_exports));
|
@@ -110762,6 +110778,10 @@ async function migrate14(db2, config) {
|
|
110762
110778
|
const { migrate: migrate22 } = await Promise.resolve().then(() => (init_migrator14(), migrator_exports13));
|
110763
110779
|
return migrate22(db2, config);
|
110764
110780
|
}
|
110781
|
+
case "PgliteDatabase": {
|
110782
|
+
const { migrate: migrate22 } = await Promise.resolve().then(() => (init_migrator15(), migrator_exports14));
|
110783
|
+
return migrate22(db2, config);
|
110784
|
+
}
|
110765
110785
|
}
|
110766
110786
|
}
|
110767
110787
|
var init_monomigrator = __esm({
|
@@ -110873,7 +110893,7 @@ __export(dist_exports4, {
|
|
110873
110893
|
mapResultRow: () => mapResultRow,
|
110874
110894
|
mapUpdateSet: () => mapUpdateSet,
|
110875
110895
|
max: () => max,
|
110876
|
-
migrate: () =>
|
110896
|
+
migrate: () => migrate15,
|
110877
110897
|
min: () => min,
|
110878
110898
|
name: () => name,
|
110879
110899
|
ne: () => ne,
|
package/api.mjs
CHANGED
@@ -110372,7 +110372,7 @@ var init_monodriver = __esm({
|
|
110372
110372
|
"use strict";
|
110373
110373
|
importError = (libName) => {
|
110374
110374
|
throw new Error(
|
110375
|
-
`Please install '${libName}'
|
110375
|
+
`Please install '${libName}' to allow Drizzle ORM to connect to the database`
|
110376
110376
|
);
|
110377
110377
|
};
|
110378
110378
|
}
|
@@ -110708,8 +110708,24 @@ var init_migrator14 = __esm({
|
|
110708
110708
|
}
|
110709
110709
|
});
|
110710
110710
|
|
110711
|
-
// ../drizzle-orm/dist/
|
110711
|
+
// ../drizzle-orm/dist/pglite/migrator.js
|
110712
|
+
var migrator_exports14 = {};
|
110713
|
+
__export(migrator_exports14, {
|
110714
|
+
migrate: () => migrate14
|
110715
|
+
});
|
110712
110716
|
async function migrate14(db2, config) {
|
110717
|
+
const migrations = readMigrationFiles(config);
|
110718
|
+
await db2.dialect.migrate(migrations, db2.session, config);
|
110719
|
+
}
|
110720
|
+
var init_migrator15 = __esm({
|
110721
|
+
"../drizzle-orm/dist/pglite/migrator.js"() {
|
110722
|
+
"use strict";
|
110723
|
+
init_migrator();
|
110724
|
+
}
|
110725
|
+
});
|
110726
|
+
|
110727
|
+
// ../drizzle-orm/dist/monomigrator.js
|
110728
|
+
async function migrate15(db2, config) {
|
110713
110729
|
switch (db2.constructor[entityKind]) {
|
110714
110730
|
case "AwsDataApiPgDatabase": {
|
110715
110731
|
const { migrate: migrate22 } = await Promise.resolve().then(() => (init_migrator2(), migrator_exports));
|
@@ -110763,6 +110779,10 @@ async function migrate14(db2, config) {
|
|
110763
110779
|
const { migrate: migrate22 } = await Promise.resolve().then(() => (init_migrator14(), migrator_exports13));
|
110764
110780
|
return migrate22(db2, config);
|
110765
110781
|
}
|
110782
|
+
case "PgliteDatabase": {
|
110783
|
+
const { migrate: migrate22 } = await Promise.resolve().then(() => (init_migrator15(), migrator_exports14));
|
110784
|
+
return migrate22(db2, config);
|
110785
|
+
}
|
110766
110786
|
}
|
110767
110787
|
}
|
110768
110788
|
var init_monomigrator = __esm({
|
@@ -110874,7 +110894,7 @@ __export(dist_exports4, {
|
|
110874
110894
|
mapResultRow: () => mapResultRow,
|
110875
110895
|
mapUpdateSet: () => mapUpdateSet,
|
110876
110896
|
max: () => max,
|
110877
|
-
migrate: () =>
|
110897
|
+
migrate: () => migrate15,
|
110878
110898
|
min: () => min,
|
110879
110899
|
name: () => name,
|
110880
110900
|
ne: () => ne,
|
package/bin.cjs
CHANGED
@@ -85222,7 +85222,7 @@ init_utils2();
|
|
85222
85222
|
var version2 = async () => {
|
85223
85223
|
const { npmVersion } = await ormCoreVersions();
|
85224
85224
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
85225
|
-
const envVersion = "0.25.0-
|
85225
|
+
const envVersion = "0.25.0-ff1e9a5";
|
85226
85226
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
85227
85227
|
const versions = `drizzle-kit: ${kitVersion}
|
85228
85228
|
${ormVersion}`;
|