diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-04-27 00:01:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 18:01:42 +0200 |
commit | 6cc8aed7377660e7288298af4ec4d70a43d912f2 (patch) | |
tree | da534a140cedc62a9471edcad74da06a66b84fab /models/migrations | |
parent | 03eba32bd91533f090a82b62bd9cffd9e448aaa7 (diff) | |
download | gitea-6cc8aed7377660e7288298af4ec4d70a43d912f2.tar.gz gitea-6cc8aed7377660e7288298af4ec4d70a43d912f2.zip |
Fix two typos (#19504)
Diffstat (limited to 'models/migrations')
-rw-r--r-- | models/migrations/migrations.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index de1d41e71a..ba8ca85bc8 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -460,7 +460,7 @@ Please try upgrading to a lower version first (suggested v1.6.4), then upgrade t // Downgrading Gitea's database version not supported if int(v-minDBVersion) > len(migrations) { - msg := fmt.Sprintf("Your database (migration version: %d) is for a newer Gita, you can not use the newer database for this old Gitea release (%d).", v, minDBVersion+len(migrations)) + msg := fmt.Sprintf("Your database (migration version: %d) is for a newer Gitea, you can not use the newer database for this old Gitea release (%d).", v, minDBVersion+len(migrations)) msg += "\nGitea will exit to keep your database safe and unchanged. Please use the correct Gitea release, do not change the migration version manually (incorrect manual operation may lose data)." if !setting.IsProd { msg += fmt.Sprintf("\nIf you are in development and really know what you're doing, you can force changing the migration version by executing: UPDATE version SET version=%d WHERE id=1;", minDBVersion+len(migrations)) |