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 19:24:48 -0800
commitff21a5c75f090d5c27446eeaa6fb3ff6f82c5ab4 (patch)
tree09201bb6769d9ded3c5df61a770a5ea534799434 /store/sql_team_store.go
parent27cab0f507d253bba5658335f42a4c7675fcdac7 (diff)
downloadchat-ff21a5c75f090d5c27446eeaa6fb3ff6f82c5ab4.tar.gz
chat-ff21a5c75f090d5c27446eeaa6fb3ff6f82c5ab4.tar.bz2
chat-ff21a5c75f090d5c27446eeaa6fb3ff6f82c5ab4.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() {