Move user properties (like session keys) to their own table
This commit is contained in:
+1
-5
@@ -1,14 +1,10 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
// TODO Move other prop keys to here
|
||||
PropLastScan = "LastScan"
|
||||
)
|
||||
|
||||
type Property struct {
|
||||
ID string
|
||||
Value string
|
||||
}
|
||||
|
||||
type PropertyRepository interface {
|
||||
Put(id string, value string) error
|
||||
Get(id string) (string, error)
|
||||
|
||||
Reference in New Issue
Block a user