Skip to content

Commit

Permalink
fix: typo in error message when creating seed table (#3089)
Browse files Browse the repository at this point in the history
* migration history: fix typo in create seed table error message

* fix typo
  • Loading branch information
szTheory authored Jan 31, 2025
1 parent 867ef97 commit 5017dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/migration/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func CreateSeedTable(ctx context.Context, conn *pgx.Conn) error {
batch.ExecParams(CREATE_VERSION_SCHEMA, nil, nil, nil, nil)
batch.ExecParams(CREATE_SEED_TABLE, nil, nil, nil, nil)
if _, err := conn.PgConn().ExecBatch(ctx, &batch).ReadAll(); err != nil {
return errors.Errorf("failed to create migration table: %w", err)
return errors.Errorf("failed to create seed table: %w", err)
}
return nil
}
Expand Down

0 comments on commit 5017dcb

Please sign in to comment.