File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ import (
1111type State struct {
1212 //nolint
1313 tableName struct {} `gorm:"-" bun:"-" pg:"dipdup_state" json:"-" comment:"Indexer state table"`
14- bun.BaseModel `gorm:"-" pg:"-" bun:"table: dipdup_state" json:"-" comment:"Indexer state table"`
14+ bun.BaseModel `gorm:"-" pg:"-" bun:"dipdup_state" json:"-" comment:"Indexer state table"`
1515
16- IndexName string `gorm:"primaryKey" pg:",pk" json:"index_name" comment:"Index name"`
16+ IndexName string `gorm:"primaryKey" pg:",pk" bun:",pk" json:"index_name" comment:"Index name"`
1717 IndexType string `json:"index_type" comment:"Index type"`
1818 Hash string `json:"hash" comment:"Current hash"`
1919 Timestamp time.Time `json:"timestamp" comment:"Current timestamp"`
You can’t perform that action at this time.
0 commit comments