Skip to content

Commit

Permalink
Fix VNC auth DB index.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorccu committed Oct 13, 2015
1 parent 8f88270 commit 638322f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/db/tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ module.exports = {
primaryKey: 'password'
, indexes: {
response: null
, responsePerDevice: function(row) {
return [row('response'), row('deviceId')]
, responsePerDevice: {
indexFunction: function(row) {
return [row('response'), row('deviceId')]
}
}
}
}
Expand Down

0 comments on commit 638322f

Please sign in to comment.