summaryrefslogtreecommitdiffstats
path: root/store/sql_team_store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-07-12 14:56:44 -0800
committer=Corey Hulen <corey@hulen.com>2015-07-12 14:56:44 -0800
commit1c493317857e729597bb59fc0878b49106257582 (patch)
tree9c69d95de082e22279b30d66034e20cb1e9875c3 /store/sql_team_store.go
parent95b9f872882b367556ca2330eea8c8309db542e6 (diff)
downloadchat-1c493317857e729597bb59fc0878b49106257582.tar.gz
chat-1c493317857e729597bb59fc0878b49106257582.tar.bz2
chat-1c493317857e729597bb59fc0878b49106257582.zip
Fixes mm-1420 adding postgres support
Diffstat (limited to 'store/sql_team_store.go')
-rw-r--r--store/sql_team_store.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/store/sql_team_store.go b/store/sql_team_store.go
index ffb9f8093..6e7fc1c1e 100644
--- a/store/sql_team_store.go
+++ b/store/sql_team_store.go
@@ -5,7 +5,6 @@ package store
import (
"github.com/mattermost/platform/model"
- "github.com/mattermost/platform/utils"
"strings"
)
@@ -30,11 +29,6 @@ func NewSqlTeamStore(sqlStore *SqlStore) TeamStore {
}
func (s SqlTeamStore) UpgradeSchemaIfNeeded() {
- defaultValue := "0"
- if utils.Cfg.TeamSettings.AllowValetDefault {
- defaultValue = "1"
- }
- s.CreateColumnIfNotExists("Teams", "AllowValet", "AllowedDomains", "tinyint(1)", defaultValue)
}
func (s SqlTeamStore) CreateIndexesIfNotExists() {