Skip to content

Commit

Permalink
Add missing terms_acceptance collection (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-babylonlabs authored Oct 28, 2024
1 parent 3bbe16f commit 485d451
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/db/model/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ var collections = map[string][]index{
{Indexes: map[string]int{"native_segwit_odd": 1}, Unique: true},
{Indexes: map[string]int{"native_segwit_even": 1}, Unique: true},
},
TermsAcceptanceCollection: {{Indexes: map[string]int{}}},
}

func Setup(ctx context.Context, cfg *config.Config) error {
Expand Down

0 comments on commit 485d451

Please sign in to comment.