Files
Atay-Makhzan/models/migrations/v1_11/v109.go
T

17 lines
314 B
Go
Raw Normal View History

// Copyright 2019 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
2022-11-02 16:54:36 +08:00
package v1_11 //nolint
import (
"xorm.io/xorm"
)
2022-11-02 16:54:36 +08:00
func AddCanCreateOrgRepoColumnForTeam(x *xorm.Engine) error {
type Team struct {
CanCreateOrgRepo bool `xorm:"NOT NULL DEFAULT false"`
}
return x.Sync2(new(Team))
}