Skip to content

Commit

Permalink
Added datastore property to registeredDryModels in order to
Browse files Browse the repository at this point in the history
be able to remove the model from registeredDryModels
so we can avoid registerDatastore to throw "Consitency violation" error
if you need to reinitialize waterline.
please see balderdashy#467 for more
information
  • Loading branch information
tugorez committed Jun 20, 2018
1 parent e0a2aea commit 22a0f5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ module.exports = {
attributes: phModelInfo.definition,
tableName: phModelInfo.tableName,
identity: phModelInfo.identity,
datastore: datastoreName,
};

// console.log('\n\nphModelInfo:',util.inspect(phModelInfo,{depth:5}));
Expand Down

0 comments on commit 22a0f5e

Please sign in to comment.