mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Fix VNC auth DB index.
This commit is contained in:
parent
8f882702f4
commit
638322fd47
1 changed files with 4 additions and 2 deletions
|
@ -18,11 +18,13 @@ module.exports = {
|
||||||
primaryKey: 'password'
|
primaryKey: 'password'
|
||||||
, indexes: {
|
, indexes: {
|
||||||
response: null
|
response: null
|
||||||
, responsePerDevice: function(row) {
|
, responsePerDevice: {
|
||||||
|
indexFunction: function(row) {
|
||||||
return [row('response'), row('deviceId')]
|
return [row('response'), row('deviceId')]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
, devices: {
|
, devices: {
|
||||||
primaryKey: 'serial'
|
primaryKey: 'serial'
|
||||||
, indexes: {
|
, indexes: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue