Skip to content

Commit

Permalink
Patch #1
Browse files Browse the repository at this point in the history
Signed-off-by: Nitish Kumar <nitish.kumar@sugaldamani.com>
  • Loading branch information
mintunitish authored and Nitish Kumar committed Nov 5, 2018
1 parent 413515b commit 725f8bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
* @see https://github.com/elegans/aeon
*
* Created By: Nitish Kumar on 10/19/2018 3:05 PM
*/
*/

const Model = require('./src/Model');

module.exports = Model;
2 changes: 1 addition & 1 deletion src/Model.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Model {
this.tableName = this.constructor.name.toString().toLowerCase() + 's';
this.bindings = {
'select' : [],
'from' : ['users'],
'from' : [this.tableName],
'where' : {},
'order' : [],
'limit' : false,
Expand Down

0 comments on commit 725f8bc

Please sign in to comment.