From 949e57076aa41584b4104abc2bed98c5f9d91165 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Thu, 1 Sep 2016 16:01:58 -0400 Subject: Fix status table upgrade (#3933) --- store/sql_status_store.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'store/sql_status_store.go') diff --git a/store/sql_status_store.go b/store/sql_status_store.go index 99d89f0d5..9b82484f4 100644 --- a/store/sql_status_store.go +++ b/store/sql_status_store.go @@ -23,17 +23,12 @@ func NewSqlStatusStore(sqlStore *SqlStore) StatusStore { for _, db := range sqlStore.GetAllConns() { table := db.AddTableWithName(model.Status{}, "Status").SetKeys(false, "UserId") table.ColMap("UserId").SetMaxSize(26) - table.ColMap("Manual") table.ColMap("Status").SetMaxSize(32) } return s } -func (s SqlStatusStore) UpgradeSchemaIfNeeded() { - s.CreateColumnIfNotExists("Status", "Manual", "BOOLEAN", "BOOLEAN", "0") -} - func (s SqlStatusStore) CreateIndexesIfNotExists() { s.CreateIndexIfNotExists("idx_status_user_id", "Status", "UserId") s.CreateIndexIfNotExists("idx_status_status", "Status", "Status") -- cgit v1.2.3-1-g7c22