summaryrefslogtreecommitdiff
path: root/app/controllers/db.go
diff options
context:
space:
mode:
authorHorus_Arch2015-02-10 10:10:22 +0100
committerHorus_Arch2015-02-10 10:10:22 +0100
commitc7869f2326d4e8282697c6961f39f1b19b4c8c94 (patch)
treec4ac577605c894ac6e0baa8660f740823f609790 /app/controllers/db.go
parent8c30749613bcf1ce47fff0a6d1a60c34f91f01c4 (diff)
downloadwebmon-c7869f2326d4e8282697c6961f39f1b19b4c8c94.tar.gz
Mailer views.
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