Skip to content

Commit c54165d

Browse files
committed
fix string typo
1 parent 68b4ed7 commit c54165d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/migrations/migrations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ func EnsureUpToDate(x *xorm.Engine) error {
419419
expectedDB := ExpectedDBVersion()
420420

421421
if currentDB != expectedDB {
422-
return fmt.Errorf(`current database version %d is not equal to the expectedDB version %d. Please run "gitea [--config /path/to/app.ini] migrate" to update the database version`, currentDB, expectedDB)
422+
return fmt.Errorf(`current database version %d is not equal to the expected version %d. Please run "gitea [--config /path/to/app.ini] migrate" to update the database version`, currentDB, expectedDB)
423423
}
424424

425425
return nil

0 commit comments

Comments
 (0)