Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Inserting MIGRATOR_TABLE reference on line 54.

  • Loading branch information...
commit e6836e8c1698966bbbd983a4ca3e255cff312afb 1 parent de8de4d
@nanodeath authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  migrator.js
View
2  migrator.js
@@ -51,7 +51,7 @@ function Migrator(db){
throw "Migrator is only valid once -- create a new one if you want to do another migration.";
}
db.transaction(function(t){
- t.executeSql("select version from _migrator_schema", [], function(t, res){
+ t.executeSql("select version from " + MIGRATOR_TABLE, [], function(t, res){
var rows = res.rows;
var version = rows.item(0).version;
debug(Migrator.DEBUG_HIGH, "Existing database present, migrating from %d", [version]);
Please sign in to comment.
Something went wrong with that request. Please try again.