gitea/models/migrations/fixtures
Denys Konovalov e5160185ed
Add default board to new projects, remove uncategorized pseudo-board (#29874)
On creation of an empty project (no template) a default board will be
created instead of falling back to the uneditable pseudo-board.

Every project now has to have exactly one default boards. As a
consequence, you cannot unset a board as default, instead you have to
set another board as default. Existing projects will be modified using a
cron job, additionally this check will run every midnight by default.

Deleting the default board is not allowed, you have to set another board
as default to do it.

Fixes #29873
Fixes #14679 along the way
Fixes #29853

Co-authored-by: delvh <dev.lh@web.de>
2024-03-27 20:54:32 +00:00
..
Test_AddCombinedIndexToIssueUser Add combined index for issue_user.uid and issue_id (#28080) 2023-12-14 09:26:59 +00:00
Test_AddConfidentialClientColumnToOAuth2ApplicationTable Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_AddHeaderAuthorizationEncryptedColWebhook Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_AddIssueResourceIndexTable Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
Test_AddRepoIDForAttachment Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
Test_CheckProjectColumnsConsistency Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
Test_DeleteOrphanedIssueLabels Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_RemigrateU2FCredentials Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_RemoveInvalidLabels Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_RepositoryFormat Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
Test_StoreWebauthnCredentialIDAsBytes Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_UnwrapLDAPSourceCfg Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_UpdateBadgeColName Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
Test_UpdateOpenMilestoneCounts Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00