gitea/models/migrations
Lunny Xiao 40cdc84b36
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`
2024-03-28 16:14:30 +00:00
..
base Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
fixtures Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
v1_6
v1_7
v1_8
v1_9
v1_10
v1_11
v1_12
v1_13
v1_14 Use `crypto/sha256` (#29386) 2024-02-25 13:32:13 +00:00
v1_15
v1_16 Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
v1_17
v1_18
v1_19
v1_20
v1_21
v1_22 Fix migration v292 (#30153) 2024-03-28 16:14:30 +00:00
migrations.go Fix migration v292 (#30153) 2024-03-28 16:14:30 +00:00