masterrecord 0.3.41 → 0.3.42
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/schema.js +1 -1
- package/package.json +1 -1
package/Migrations/schema.js
CHANGED
|
@@ -327,7 +327,7 @@ class schema{
|
|
|
327
327
|
async createDatabase(){
|
|
328
328
|
try{
|
|
329
329
|
if(!(this.context && this.context.isMySQL)){ return; }
|
|
330
|
-
const MySQLAsyncClient = require('masterrecord/
|
|
330
|
+
const MySQLAsyncClient = require('masterrecord/mySQLConnect');
|
|
331
331
|
const client = this.context.db; // main client (may not be connected yet)
|
|
332
332
|
if(!client || !client.config || !client.config.database){ return; }
|
|
333
333
|
const dbName = client.config.database;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "masterrecord",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.42",
|
|
4
4
|
"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 ",
|
|
5
5
|
"main": "MasterRecord.js",
|
|
6
6
|
"bin": {
|