Chore: refactor to use new schema changing queries
This commit is contained in:
parent
304f792484
commit
e6059be8d2
44 changed files with 185 additions and 171 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue