Skip to content

Commit

Permalink
fixed type in migration name attribute (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy Baron authored Oct 17, 2019
1 parent e7e27a5 commit 657037d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gbus/tx/mysql/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func sagaStoreAddSagaCreatorDetails(svcName string) *migrator.Migration {
addCreatorDetailsSQL := `ALTER TABLE ` + tblName + ` ADD COLUMN started_by_request_of_svc VARCHAR(2048) AFTER saga_data, ADD COLUMN started_by_request_of_saga VARCHAR(255) AFTER started_by_request_of_svc`

return &migrator.Migration{
Name: "create saga store table",
Name: "add saga creator details columns",
Func: func(tx *sql.Tx) error {
if _, err := tx.Exec(addCreatorDetailsSQL); err != nil {
return err
Expand Down

0 comments on commit 657037d

Please sign in to comment.