0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-30 11:23:56 -05:00
forgejo/models/migrations/v1_22
Lunny Xiao 459b1b20fe
Fix migration v292 (#30153)
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`

(cherry picked from commit 40cdc84b368cce8328b4b49ea5ecf1c5fa040300)
2024-03-30 07:17:32 +01:00
..
main_test.go
v280.go
v281.go
v282.go
v283.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
v283_test.go
v284.go
v285.go
v286.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
v286_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
v287.go
v288.go Add user blocking (#29028) (database migration ony) 2024-03-11 23:36:59 +07:00
v289.go Make wiki default branch name changable (#29603) (database migration ony) 2024-03-11 23:36:59 +07:00
v290.go add test for webhook migration 2024-03-11 23:37:00 +07:00
v290_test.go add test for webhook migration 2024-03-11 23:37:00 +07:00
v291.go Do some performance optimize for issues list and view issue/pull (#29515) (migration only) 2024-03-30 07:17:31 +01:00
v292.go Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00
v293.go Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00
v293_test.go Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00