Skip to content

Commit

Permalink
set gorm column name for TransferPosition To field
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Oct 2, 2024
1 parent bcaa138 commit c875e9c
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 @@ -27,7 +27,7 @@ type (
events.Event

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

Expand Down

0 comments on commit c875e9c

Please sign in to comment.