1
0
Fork 0
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:
Simo Kinnunen 2015-10-13 15:31:26 +09:00
parent 8f882702f4
commit 638322fd47

View file

@ -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: {