forgejo/models/migrations/v1_22
Lunny Xiao 32c97efab4
Remove If Exist check on migration for mssql because that syntax required SQL server 2016 ()
Fix 

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
..
main_test.go Add combined index for issue_user.uid and issue_id () 2023-12-14 09:26:59 +00:00
v280.go
v281.go Enhanced auth token / remember me () 2023-10-14 00:56:41 +00:00
v282.go Add Index to pull_auto_merge.doer_id () 2023-10-30 08:39:29 +00:00
v283.go [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v283_test.go Fix migration test () 2023-12-30 21:54:48 +08:00
v284.go Add branch protection setting for ignoring stale approvals () 2024-01-15 07:20:01 +00:00
v285.go Fix incorrect action duration time when rerun the job before executed once () 2024-01-19 14:05:49 +00:00
v286.go [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v286_test.go Remove If Exist check on migration for mssql because that syntax required SQL server 2016 () 2024-05-12 20:03:10 +02:00
v287.go Add admin API route for managing user's badges () (database migration ony) 2024-03-11 23:36:59 +07:00
v288.go Add user blocking () (database migration ony) 2024-03-11 23:36:59 +07:00
v289.go Make wiki default branch name changable () (database migration ony) 2024-03-11 23:36:59 +07:00
v290.go add test for webhook migration 2024-03-11 23:37:00 +07:00
v290_test.go add test for webhook migration 2024-03-11 23:37:00 +07:00
v291.go Do some performance optimize for issues list and view issue/pull () (migration only) 2024-03-30 07:17:31 +01:00
v292.go Fix migration v292 () 2024-03-30 07:17:32 +01:00
v293.go Fix migration v292 () 2024-03-30 07:17:32 +01:00
v293_test.go Fix migration v292 () 2024-03-30 07:17:32 +01:00
v294.go Rename migration package name for 1.22-rc1 () 2024-04-28 15:39:01 +02:00
v294_test.go Rename migration package name for 1.22-rc1 () 2024-04-28 15:39:01 +02:00
v295.go Rename migration package name for 1.22-rc1 () 2024-04-28 15:39:01 +02:00
v296.go Rename migration package name for 1.22-rc1 () 2024-04-28 15:39:01 +02:00
v298.go Rename migration package name for 1.22-rc1 () 2024-04-28 15:39:01 +02:00