Skip to content

Commit ec73c33

Browse files
committed
Fix typo
1 parent 2c5305e commit ec73c33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

models/migrations/migrations.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type Version struct {
5959
Version int64
6060
}
6161

62-
func emptyMigtation(x *xorm.Engine) error {
62+
func emptyMigration(x *xorm.Engine) error {
6363
return nil
6464
}
6565

@@ -137,11 +137,11 @@ var migrations = []Migration{
137137
// v41 -> v42
138138
NewMigration("remove duplicate unit types", removeDuplicateUnitTypes),
139139
// v42 -> v43
140-
NewMigration("empty step", emptyMigtation),
140+
NewMigration("empty step", emptyMigration),
141141
// v43 -> v44
142-
NewMigration("empty step", emptyMigtation),
142+
NewMigration("empty step", emptyMigration),
143143
// v44 -> v45
144-
NewMigration("empty step", emptyMigtation),
144+
NewMigration("empty step", emptyMigration),
145145
// v45 -> v46
146146
NewMigration("remove index column from repo_unit table", removeIndexColumnFromRepoUnitTable),
147147
// v46 -> v47

0 commit comments

Comments
 (0)