summaryrefslogtreecommitdiffstats
path: root/models/migrations
diff options
context:
space:
mode:
authoryutotnh <57719497+yutotnh@users.noreply.github.com>2022-06-13 16:34:46 +0900
committerGitHub <noreply@github.com>2022-06-13 15:34:46 +0800
commit3708ca8e2849ca7e36e6bd15ec6935a2a2d81e55 (patch)
treedf00fd6d0407bd3dd996d71e123b45e159b9de61 /models/migrations
parent5f136783d114b302eb2a42219e403624ef2abd93 (diff)
downloadgitea-3708ca8e2849ca7e36e6bd15ec6935a2a2d81e55.tar.gz
gitea-3708ca8e2849ca7e36e6bd15ec6935a2a2d81e55.zip
fix: some typos (#19956)
Diffstat (limited to 'models/migrations')
-rw-r--r--models/migrations/migrations.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index 5a2297ac0d..1bed4e2bc0 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -419,7 +419,7 @@ func EnsureUpToDate(x *xorm.Engine) error {
}
if currentDB < 0 {
- return fmt.Errorf("Database has not been initialised")
+ return fmt.Errorf("Database has not been initialized")
}
if minDBVersion > currentDB {
@@ -953,7 +953,7 @@ func dropTableColumns(sess *xorm.Session, tableName string, columnNames ...strin
return nil
}
-// modifyColumn will modify column's type or other propertity. SQLITE is not supported
+// modifyColumn will modify column's type or other property. SQLITE is not supported
func modifyColumn(x *xorm.Engine, tableName string, col *schemas.Column) error {
var indexes map[string]*schemas.Index
var err error