1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-12 11:38:00 -05:00
forgejo/models/migrations/fixtures
Lunny Xiao 32c97efab4
Remove If Exist check on migration for mssql because that syntax required SQL server 2016 (#30894)
Fix #30872

We will assume the database is consistent before executing the
migration. So the indexes should exist. Removing `IF EXIST` then is safe
enough.

---------

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 40de54ece82356b161cdb9cc224ed9004af8ae5d)

Conflicts:
	models/migrations/v1_22/v286.go
	MSSQL is not supported in Forgejo
2024-05-12 20:03:10 +02:00
..
Test_AddCombinedIndexToIssueUser [CI] Fix false positive in database migration 2024-02-05 13:33:59 +01:00
Test_AddConfidentialClientColumnToOAuth2ApplicationTable Fix wrong table name (#30557) 2024-04-28 15:39:00 +02: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-11 23:36:59 +07:00
Test_AddPayloadVersionToHookTaskTable add test for webhook migration 2024-03-11 23:37:00 +07:00
Test_AddRepoIDForAttachment Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
Test_AddUniqueIndexForProjectIssue [PORT] gitea#30190: Add unique index for project_issue to prevent duplicate data 2024-04-07 14:51:50 +02:00
Test_CheckProjectColumnsConsistency Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-30 07:17:31 +01: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_RemoveSSHSignaturesFromReleaseNotes Add a migration to remove SSH signatures from release notes 2024-03-26 08:09:36 +00:00
Test_RepositoryFormat Remove If Exist check on migration for mssql because that syntax required SQL server 2016 (#30894) 2024-05-12 20:03:10 +02: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-11 23:36:59 +07:00
Test_UpdateOpenMilestoneCounts Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00