forgejo/models/migrations
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
..
base
fixtures Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-30 07:17:31 +01:00
v1_6
v1_7
v1_8
v1_9
v1_10
v1_11 migration v1_11/v111.go: Unknown columns in 'field list' 2024-03-24 07:12:31 +01:00
v1_12 old migrations: warning instead of error 2024-03-24 07:11:19 +01:00
v1_13
v1_14
v1_15
v1_16
v1_17
v1_18
v1_19
v1_20
v1_21
v1_22 Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00
migrations.go Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00