@event-driven-io/pongo 0.17.0-beta.45 → 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.
package/dist/index.js CHANGED
@@ -1377,6 +1377,7 @@ const pongoClient = (options) => {
1377
1377
  databaseName: dbName,
1378
1378
  serializer,
1379
1379
  errors,
1380
+ ...schema?.autoMigration ? { schema: { autoMigration: schema.autoMigration } } : {},
1380
1381
  cache: options?.cache ?? cache,
1381
1382
  serialization
1382
1383
  });