masterrecord 0.2.24 → 0.2.25

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/Migrations/cli.js CHANGED
@@ -266,7 +266,7 @@ program.option('-V', 'output the version');
266
266
  var migrationProjectFile = require(mFile);
267
267
  var ContextCtor = require(contextAbs);
268
268
  var contextInstance = new ContextCtor();
269
- var newMigrationProjectInstance = new migrationProjectFile(context);
269
+ var newMigrationProjectInstance = new migrationProjectFile(ContextCtor);
270
270
 
271
271
  var cleanEntities = migration.cleanEntities(contextInstance.__entities);
272
272
  var tableObj = migration.buildUpObject(contextSnapshot.schema, cleanEntities);
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "app-root-path": "^3.1.0",
10
10
  "better-sqlite3": "^12.4.1"
11
11
  },
12
- "version": "0.2.24",
12
+ "version": "0.2.25",
13
13
  "description": "An Object-relational mapping for the Master framework. Master Record connects classes to relational database tables to establish a database with almost zero-configuration ",
14
14
  "homepage": "https://github.com/Tailor/MasterRecord#readme",
15
15
  "repository": {