Chore: refactor to use new schema changing queries

This commit is contained in:
csrapr 2021-03-01 15:55:29 +00:00 committed by Josh Harvey
parent 304f792484
commit e6059be8d2
44 changed files with 185 additions and 171 deletions

View file

@ -6,7 +6,7 @@ module.exports = {multi}
function multi (sqls, cb) {
const doQuery = s => {
return () => {
return db.none(s)
return db.$none(s)
.catch(err => {
console.log(err.stack)
throw err