drizzle-kit 0.20.0-c31f6ba → 0.20.0-e4ed989
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/index.cjs +4 -0
- package/package.json +1 -1
- package/utils.d.ts +4 -0
- package/utils.js +12 -0
package/index.cjs
CHANGED
@@ -58110,6 +58110,10 @@ var init_utils4 = __esm({
|
|
58110
58110
|
init_sqliteSerializer();
|
58111
58111
|
init_pgSerializer();
|
58112
58112
|
init_studioUtils();
|
58113
|
+
init_pgSerializer();
|
58114
|
+
init_sqliteSerializer();
|
58115
|
+
init_sqliteIntrospect();
|
58116
|
+
init_pgIntrospect();
|
58113
58117
|
assertV1OutFolder = (out, dialect6) => {
|
58114
58118
|
if (!(0, import_fs8.existsSync)(out))
|
58115
58119
|
return;
|
package/package.json
CHANGED
package/utils.d.ts
CHANGED
@@ -3,6 +3,10 @@ import { NamedWithSchema } from "./cli/commands/migrate";
|
|
3
3
|
import { AnyPgTable, PgDatabase } from "drizzle-orm/pg-core";
|
4
4
|
import { PgSchema as PgSchemaKit } from "./serializer/pgSchema";
|
5
5
|
import { Config, DbConnection } from ".";
|
6
|
+
export { toDrizzle as drizzleSchemaPg } from "./serializer/pgSerializer";
|
7
|
+
export { toDrizzle as drizzleSchemaSQLite } from "./serializer/sqliteSerializer";
|
8
|
+
export { sqlitePushIntrospect } from "./cli/commands/sqliteIntrospect";
|
9
|
+
export { pgPushIntrospect } from "./cli/commands/pgIntrospect";
|
6
10
|
export declare const assertV1OutFolder: (out: string, dialect: Dialect | "{dialect}") => void;
|
7
11
|
export type Journal = {
|
8
12
|
version: string;
|
package/utils.js
CHANGED
@@ -56043,11 +56043,14 @@ __export(utils_exports, {
|
|
56043
56043
|
assertV1OutFolder: () => assertV1OutFolder,
|
56044
56044
|
columnRenameKey: () => columnRenameKey,
|
56045
56045
|
defineConfig: () => defineConfig,
|
56046
|
+
drizzleSchemaPg: () => toDrizzle,
|
56047
|
+
drizzleSchemaSQLite: () => toDrizzle2,
|
56046
56048
|
dryJournal: () => dryJournal,
|
56047
56049
|
generateDrizzleJson: () => generateDrizzleJson,
|
56048
56050
|
generateMigration: () => generateMigration,
|
56049
56051
|
kloudMeta: () => kloudMeta,
|
56050
56052
|
mapValues: () => mapValues,
|
56053
|
+
pgPushIntrospect: () => pgPushIntrospect,
|
56051
56054
|
prepareFrom: () => prepareFrom,
|
56052
56055
|
prepareMigrationFolder: () => prepareMigrationFolder,
|
56053
56056
|
prepareMigrationMeta: () => prepareMigrationMeta,
|
@@ -56055,6 +56058,7 @@ __export(utils_exports, {
|
|
56055
56058
|
pushSchema: () => pushSchema,
|
56056
56059
|
schemaRenameKey: () => schemaRenameKey,
|
56057
56060
|
snapshotsPriorV4: () => snapshotsPriorV4,
|
56061
|
+
sqlitePushIntrospect: () => sqlitePushIntrospect,
|
56058
56062
|
statementsForDiffs: () => statementsForDiffs,
|
56059
56063
|
tableRenameKey: () => tableRenameKey,
|
56060
56064
|
validateWithReport: () => validateWithReport
|
@@ -56086,6 +56090,10 @@ var init_utils4 = __esm({
|
|
56086
56090
|
init_sqliteSerializer();
|
56087
56091
|
init_pgSerializer();
|
56088
56092
|
init_studioUtils();
|
56093
|
+
init_pgSerializer();
|
56094
|
+
init_sqliteSerializer();
|
56095
|
+
init_sqliteIntrospect();
|
56096
|
+
init_pgIntrospect();
|
56089
56097
|
assertV1OutFolder = (out, dialect6) => {
|
56090
56098
|
if (!(0, import_fs4.existsSync)(out))
|
56091
56099
|
return;
|
@@ -56428,11 +56436,14 @@ init_utils4();
|
|
56428
56436
|
assertV1OutFolder,
|
56429
56437
|
columnRenameKey,
|
56430
56438
|
defineConfig,
|
56439
|
+
drizzleSchemaPg,
|
56440
|
+
drizzleSchemaSQLite,
|
56431
56441
|
dryJournal,
|
56432
56442
|
generateDrizzleJson,
|
56433
56443
|
generateMigration,
|
56434
56444
|
kloudMeta,
|
56435
56445
|
mapValues,
|
56446
|
+
pgPushIntrospect,
|
56436
56447
|
prepareFrom,
|
56437
56448
|
prepareMigrationFolder,
|
56438
56449
|
prepareMigrationMeta,
|
@@ -56440,6 +56451,7 @@ init_utils4();
|
|
56440
56451
|
pushSchema,
|
56441
56452
|
schemaRenameKey,
|
56442
56453
|
snapshotsPriorV4,
|
56454
|
+
sqlitePushIntrospect,
|
56443
56455
|
statementsForDiffs,
|
56444
56456
|
tableRenameKey,
|
56445
56457
|
validateWithReport
|