Skip to content

Commit

Permalink
set gorm column name for TransferPosition event
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Oct 2, 2024
1 parent 9da028d commit bcaa138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/events/seawater/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type (
TransferPosition struct {
events.Event

From types.Address `json:"from_"`
From types.Address `json:"from_" gorm:"column:from_"`
To types.Address `json:"to_"`
PosId int `json:"pos_id"`
}
Expand Down

0 comments on commit bcaa138

Please sign in to comment.