From 485d451b312363c8ea65fe3b816123f6d562884c Mon Sep 17 00:00:00 2001 From: Jeremy <168515712+jeremy-babylonlabs@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:14:50 +1100 Subject: [PATCH] Add missing terms_acceptance collection (#93) --- internal/db/model/setup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/db/model/setup.go b/internal/db/model/setup.go index d56c347..212157c 100644 --- a/internal/db/model/setup.go +++ b/internal/db/model/setup.go @@ -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 {