Skip to content

Commit

Permalink
Fix reference to migration adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Jul 13, 2013
1 parent 78ea768 commit f035573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen/jakelib/db.jake
Expand Up @@ -38,7 +38,7 @@ namespace('db', function () {
throw new Error(m + ' is not a known model.');
}

adapter = geddy.model.adapters[m];
adapter = geddy.model[m].adapter;
if (adapter) {
console.log(msg + ' table for ' + m);
adapter[action + 'Table'](m, function (err, data) {
Expand Down

0 comments on commit f035573

Please sign in to comment.