Removed duplicated field SPNUsed from netquery module

This commit is contained in:
Patrick Pacher
2022-08-02 08:58:06 +02:00
parent a7034e423c
commit 6c4faa3d3c
3 changed files with 3 additions and 4 deletions

View File

@@ -95,8 +95,7 @@ type (
ExitNode *string `sqlite:"exit_node"`
// TODO(ppacher): support "NOT" in search query to get rid of the following helper fields
SPNUsed bool `sqlite:"spn_used"` // could use "exit_node IS NOT NULL" or "exit IS NULL"
Active bool `sqlite:"active"` // could use "ended IS NOT NULL" or "ended IS NULL"
Active bool `sqlite:"active"` // could use "ended IS NOT NULL" or "ended IS NULL"
// TODO(ppacher): we need to profile here for "suggestion" support. It would be better to keep a table of profiles in sqlite and use joins here
ProfileName string `sqlite:"profile_name"`