summaryrefslogtreecommitdiff
path: root/app/controllers/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/db.go')
-rw-r--r--app/controllers/db.go19
1 files changed, 10 insertions, 9 deletions
diff --git a/app/controllers/db.go b/app/controllers/db.go
index f6a535e..8e0af2a 100644
--- a/app/controllers/db.go
+++ b/app/controllers/db.go
@@ -8,15 +8,16 @@ import (
)
type User struct {
- Id int64
- Email string `sql:"unique"`
- Name string `sql:"unique"`
- Password string
- Confirmed bool
- Alerts []Alert
- CreatedAt time.Time
- DeletedAt time.Time
- UpdatedAt time.Time
+ Id int64
+ Email string `sql:"unique"`
+ Name string `sql:"unique"`
+ Password string
+ Confirmed bool
+ ConfirmationKey string
+ Alerts []Alert
+ CreatedAt time.Time
+ DeletedAt time.Time
+ UpdatedAt time.Time
}
// Multiple accounts which are alerted