diff options
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 |
commit | 718d670d699e295fcad903d507bc989c51a1ef50 (patch) | |
tree | f869ae1871360629a1c18fe10c451ef4590430d8 | |
parent | 38e44e8f618b8e1af2ed2ded5efb5d3a887db279 (diff) | |
download | chat-718d670d699e295fcad903d507bc989c51a1ef50.tar.gz chat-718d670d699e295fcad903d507bc989c51a1ef50.tar.bz2 chat-718d670d699e295fcad903d507bc989c51a1ef50.zip |
Fixing upgrade
-rw-r--r-- | store/sql_user_store.go | 2 |
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 { |