chore: undo $ prepend on queries
This commit is contained in:
parent
f3f2bb01b0
commit
ba4117173e
50 changed files with 215 additions and 227 deletions
|
|
@ -10,11 +10,11 @@ DbMigrateStore.prototype.save = function (set, fn) {
|
|||
lastRun: set.lastRun,
|
||||
migrations: set.migrations
|
||||
})
|
||||
db.$none(upsert, [insertData]).then(fn).catch(err => console.log(err))
|
||||
db.none(upsert, [insertData]).then(fn).catch(err => console.log(err))
|
||||
}
|
||||
|
||||
DbMigrateStore.prototype.load = function (fn) {
|
||||
db.$one('select data from migrations').then(({ data }) => {
|
||||
db.one('select data from migrations').then(({ data }) => {
|
||||
fn(null, data)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue