Files
2026-08-03 08:13:15 +00:00

21 lines
409 B
Go

// Copyright 2019 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package v1_8
import (
"context"
"gitea.dev/modelmigration/base"
)
func AddIsLockedToIssues(_ context.Context, x base.EngineMigration) error {
// Issue see models/issue.go
type Issue struct {
ID int64 `xorm:"pk autoincr"`
IsLocked bool `xorm:"NOT NULL DEFAULT false"`
}
return x.Sync(new(Issue))
}