From c7869f2326d4e8282697c6961f39f1b19b4c8c94 Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Tue, 10 Feb 2015 10:10:22 +0100 Subject: Mailer views. --- app/controllers/db.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'app/controllers/db.go') 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 -- cgit v1.2.3