fix: some typos (#19956)

This commit is contained in:
yutotnh authored and GitHub committed 2022-06-13 15:34:46 +08:00
1 parent 5f136783d1
commit 3708ca8e28
6 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -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