mirror of
https://github.com/go-gitea/gitea
synced 2024-11-18 08:04:25 +00:00
40cdc84b36
Fix https://github.com/go-gitea/gitea/pull/29874#discussion_r1542227686 - The migration of v292 will miss many projects. These projects will have no default board. This PR introduced a new migration number and removed v292 migration. - This PR also added the missed transactions on project-related operations. - Only `SetDefaultBoard` will remove duplicated defaults but not in `GetDefaultBoard`
10 lines
372 B
Go
10 lines
372 B
Go
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package v1_22 //nolint
|
|
|
|
// NOTE: noop the original migration has bug which some projects will be skip, so
|
|
// these projects will have no default board.
|
|
// So that this migration will be skipped and go to v293.go
|
|
// This file is a placeholder so that readers can know what happened
|