@event-driven-io/pongo 0.17.0-beta.44 → 0.17.0-beta.46

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.
@@ -0,0 +1,9 @@
1
+ import { In as PongoCollectionSQLBuilder } from "./index-CavsdtMX.js";
2
+ import * as _$_event_driven_io_dumbo0 from "@event-driven-io/dumbo";
3
+ import { JSONSerializer } from "@event-driven-io/dumbo";
4
+
5
+ //#region src/storage/sqlite/core/sqlBuilder/index.d.ts
6
+ declare const pongoCollectionSQLiteMigrations: (collectionName: string) => _$_event_driven_io_dumbo0.SQLMigration[];
7
+ declare const sqliteSQLBuilder: (collectionName: string, serializer: JSONSerializer) => PongoCollectionSQLBuilder;
8
+ //#endregion
9
+ export { sqliteSQLBuilder as n, pongoCollectionSQLiteMigrations as t };
@@ -0,0 +1,9 @@
1
+ import { In as PongoCollectionSQLBuilder } from "./index-C3pnS1S_.cjs";
2
+ import * as _$_event_driven_io_dumbo0 from "@event-driven-io/dumbo";
3
+ import { JSONSerializer } from "@event-driven-io/dumbo";
4
+
5
+ //#region src/storage/sqlite/core/sqlBuilder/index.d.ts
6
+ declare const pongoCollectionSQLiteMigrations: (collectionName: string) => _$_event_driven_io_dumbo0.SQLMigration[];
7
+ declare const sqliteSQLBuilder: (collectionName: string, serializer: JSONSerializer) => PongoCollectionSQLBuilder;
8
+ //#endregion
9
+ export { sqliteSQLBuilder as n, pongoCollectionSQLiteMigrations as t };
package/dist/index.cjs CHANGED
@@ -1378,6 +1378,7 @@ const pongoClient = (options) => {
1378
1378
  databaseName: dbName,
1379
1379
  serializer,
1380
1380
  errors,
1381
+ ...schema?.autoMigration ? { schema: { autoMigration: schema.autoMigration } } : {},
1381
1382
  cache: options?.cache ?? cache,
1382
1383
  serialization
1383
1384
  });