Skip to content

Commit

Permalink
chore: improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Dec 11, 2021
1 parent 60d2304 commit 0b4c3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func (m *Migrator) genMigrationName(name string) (string, error) {
return fmt.Sprintf("%s_%s", version, name), nil
}

// MarkApplied marks the migration as applied (applied).
// MarkApplied marks the migration as applied (completed).
func (m *Migrator) MarkApplied(ctx context.Context, migration *Migration) error {
_, err := m.db.NewInsert().Model(migration).
ModelTableExpr(m.table).
Expand Down

0 comments on commit 0b4c3fc

Please sign in to comment.