Skip to content

Commit 1696d5c

Browse files
authored
Merge pull request #1141 from chenx-dust/patch-1
fix(typo): minor typo fix in `migrate/auto.go`
2 parents 48275db + 368ed3f commit 1696d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrate/auto.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (am *AutoMigrator) plan(ctx context.Context) (*changeset, error) {
191191
}
192192

193193
// Migrate writes required changes to a new migration file and runs the migration.
194-
// This will create and entry in the migrations table, making it possible to revert
194+
// This will create an entry in the migrations table, making it possible to revert
195195
// the changes with Migrator.Rollback(). MigrationOptions are passed on to Migrator.Migrate().
196196
func (am *AutoMigrator) Migrate(ctx context.Context, opts ...MigrationOption) (*MigrationGroup, error) {
197197
migrations, _, err := am.createSQLMigrations(ctx, false)

0 commit comments

Comments
 (0)