mirror of
1
Fork 0
forgejo/models
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
..
actions Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
activities Teach activities.GetFeeds() how to avoid returning duplicates 2024-05-09 18:33:33 +02:00
admin
asymkey Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00
auth Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
avatars
db Fix various problems around projects board view (#30696) 2024-05-12 20:03:10 +02:00
dbfs
fixtures Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
forgejo/semver
forgejo_migrations Drop Gitea-specific columns from two tables 2024-04-26 10:34:06 +02:00
git Fix duplicate status check contexts (#30660) 2024-05-05 08:48:45 +01:00
issues Fix various problems around projects board view (#30696) 2024-05-12 20:03:10 +02:00
migrations Remove If Exist check on migration for mssql because that syntax required SQL server 2016 (#30894) 2024-05-12 20:03:10 +02:00
organization Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-05-05 08:38:16 +01:00
packages Fix package list performance (#30520) 2024-04-21 16:28:16 +02:00
perm
project Fix various problems around projects board view (#30696) 2024-05-12 20:03:10 +02:00
pull
repo Get repo list with OrderBy alpha should respect owner too (#30784) 2024-05-12 20:03:10 +02:00
secret
shared/types
system
unit
unittest [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
user Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
webhook webhook: sourcehut_builds: ask for access_token instead of authorization_header 2024-04-16 08:59:55 +02:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-28 15:39:00 +02:00
repo_transfer_test.go