Skip to content

Commit

Permalink
Fix bmd.oepration_id index
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kus committed Sep 2, 2021
1 parent d64137a commit 978e3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/models/bigmapdiff/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type BigMapDiff struct {
Network types.Network `json:"network" gorm:"type:SMALLINT;index:bmd_idx;index:big_map_diffs_key_hash_idx"`
Timestamp time.Time `json:"timestamp"`
ProtocolID int64 `json:"protocol" gorm:"type:SMALLINT"`
OperationID int64 `json:"-" gorm:"bmd_operation_id_idx"`
OperationID int64 `json:"-" gorm:"index:bmd_operation_id_idx"`

KeyStrings pq.StringArray `json:"key_strings,omitempty" gorm:"type:text[]"`
ValueStrings pq.StringArray `json:"value_strings,omitempty" gorm:"type:text[]"`
Expand Down

0 comments on commit 978e3ab

Please sign in to comment.