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
|
|
@ -104,7 +104,7 @@ function getGroupField (group, fieldCode) {
|
|||
// Note: We can't use machine-loader because it relies on settings-loader,
|
||||
// which relies on this
|
||||
function getMachines () {
|
||||
return db.any('select device_id from devices')
|
||||
return db.$any('select device_id from devices')
|
||||
}
|
||||
|
||||
function fetchMachines () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue