Files
gitea/models/migrations/v1_15/v178.go
2026-05-18 03:56:39 +08:00

16 lines
370 B
Go

// Copyright 2021 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package v1_15
import "code.gitea.io/gitea/models/db"
func AddLFSMirrorColumns(x db.EngineMigration) error {
type Mirror struct {
LFS bool `xorm:"lfs_enabled NOT NULL DEFAULT false"`
LFSEndpoint string `xorm:"lfs_endpoint TEXT"`
}
return x.Sync(new(Mirror))
}