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 fail test when log.Error is called 2024-03-24 07:11:18 +01:00
fixtures Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-30 07:17:31 +01:00
v1_6 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_7 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_8 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_9 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_10 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
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 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_14 [GITEA] Drop sha256-simd in favor of stdlib 2024-02-05 16:09:40 +01:00
v1_15 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_16 Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
v1_17 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_18 Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
v1_19 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_20 Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v1_21 [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2024-02-05 16:09:41 +01:00
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