Skip to content

Commit

Permalink
Merge pull request #63 from ethpandaops/fix/backfill
Browse files Browse the repository at this point in the history
fix(db): set defaults for new columns
  • Loading branch information
Savid authored Oct 13, 2023
2 parents 94982bf + b53902c commit 74369ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/forky/db/frame_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ type FrameMetadata struct {
WallClockEpoch int64
FetchedAt time.Time `gorm:"index"`
Labels []FrameMetadataLabel `gorm:"foreignkey:FrameID;"`
ConsensusClient string
EventSource EventSource
ConsensusClient string `gorm:"not null;default:''"`
EventSource EventSource `gorm:"not null;default:0"`
}

type FrameMetadatas []*FrameMetadata
Expand Down

0 comments on commit 74369ec

Please sign in to comment.