We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1846d02 commit 873f900Copy full SHA for 873f900
database/state.go
@@ -10,11 +10,12 @@ type State struct {
10
//nolint
11
tableName struct{} `gorm:"-" pg:"dipdup_state" json:"-"`
12
13
- IndexName string `gorm:"primaryKey" pg:",pk" json:"index_name"`
14
- IndexType string `json:"index_type"`
15
- Hash string `json:"hash,omitempty"`
16
- Level uint64 `json:"level"`
17
- UpdatedAt int `gorm:"autoUpdateTime"`
+ IndexName string `gorm:"primaryKey" pg:",pk" json:"index_name"`
+ IndexType string `json:"index_type"`
+ Hash string `json:"hash"`
+ Timestamp time.Time `json:"timestamp"`
+ Level uint64 `json:"level"`
18
+ UpdatedAt int `gorm:"autoUpdateTime"`
19
}
20
21
// BeforeInsert -
0 commit comments