Этот коммит содержится в:
Christopher Speller
2015-11-09 15:25:41 -05:00
родитель b0fde13147
Коммит bb96157960
4 изменённых файлов: 0 добавлений и 73 удалений

Просмотреть файл

@@ -30,11 +30,6 @@ func NewSqlTeamStore(sqlStore *SqlStore) TeamStore {
}
func (s SqlTeamStore) UpgradeSchemaIfNeeded() {
// REMOVE AFTER 1.2 SHIP see PLT-828
s.RemoveColumnIfExists("Teams", "AllowValet")
s.CreateColumnIfNotExists("Teams", "InviteId", "varchar(32)", "varchar(32)", "")
s.CreateColumnIfNotExists("Teams", "AllowOpenInvite", "tinyint(1)", "boolean", "0")
s.CreateColumnIfNotExists("Teams", "AllowTeamListing", "tinyint(1)", "boolean", "0")
}
func (s SqlTeamStore) CreateIndexesIfNotExists() {