summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-02 09:30:18 -0800
committer=Corey Hulen <corey@hulen.com>2015-08-02 09:30:18 -0800
commit718d670d699e295fcad903d507bc989c51a1ef50 (patch)
treef869ae1871360629a1c18fe10c451ef4590430d8 /store/sql_user_store.go
parent38e44e8f618b8e1af2ed2ded5efb5d3a887db279 (diff)
downloadchat-718d670d699e295fcad903d507bc989c51a1ef50.tar.gz
chat-718d670d699e295fcad903d507bc989c51a1ef50.tar.bz2
chat-718d670d699e295fcad903d507bc989c51a1ef50.zip
Fixing upgrade
Diffstat (limited to 'store/sql_user_store.go')
-rw-r--r--store/sql_user_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_user_store.go b/store/sql_user_store.go
index 37d31a5f2..cd25b488b 100644
--- a/store/sql_user_store.go
+++ b/store/sql_user_store.go
@@ -60,7 +60,7 @@ func (us SqlUserStore) UpgradeSchemaIfNeeded() {
us.CreateColumnIfNotExists("Users", "AuthService", "AuthData", "varchar(32)", "") // for OAuth Client
- us.CreateColumnIfNotExists("Users", "FailedAttempts", "FailedAttempts", "int(11)", "0")
+ us.CreateColumnIfNotExists("Users", "FailedAttempts", "LastPictureUpdate", "int(11)", "0")
}
//func (ss SqlStore) CreateColumnIfNotExists(tableName string, columnName string, afterName string, colType string, defaultValue string) bool {