Another migration typo

This commit is contained in:
Girish Ramakrishnan
2019-09-25 10:22:43 -07:00
parent 95c4a1f90c
commit d1df647ddd

View File

@@ -12,7 +12,7 @@ exports.up = function(db, callback) {
if (app.errorJson === 'null') return iteratorDone();
if (app.errorJson === null) return iteratorDone();
db.runSql('UPDATE apps SET errorJson = ? WHERE id = ?', [ JSON.stringify({ message: app.errorJson }, app.id)], iteratorDone);
db.runSql('UPDATE apps SET errorJson = ? WHERE id = ?', [ JSON.stringify({ message: app.errorJson }), app.id ], iteratorDone);
}, callback);
});
});