Skip to content

Commit

Permalink
update fields type
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouop0 committed Jul 26, 2024
1 parent 8be9f33 commit 6f2794e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migration/version/v0/init_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type SyncEvent struct {
EventName string `json:"event_name" gorm:"type:varchar(32);notnull"`
EventHash string `json:"event_hash" gorm:"type:varchar(66);notnull"`
ContractAddress string `json:"contract_address" gorm:"type:varchar(42);notnull"`
Data string `json:"data" gorm:"type:json;notnull"`
Data string `json:"data" gorm:"type:varchar(256);notnull"`
Status string `json:"status" gorm:"type:varchar(32);notnull;index:status_index"`
RetryCount int64 `json:"retry_count" gorm:"type:bigint;notnull"`
}
Expand Down

0 comments on commit 6f2794e

Please sign in to comment.