summaryrefslogtreecommitdiff
path: root/internal/db/bundb/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/bundb/util.go')
-rw-r--r--internal/db/bundb/util.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/db/bundb/util.go b/internal/db/bundb/util.go
index d0d25a236..39849ba73 100644
--- a/internal/db/bundb/util.go
+++ b/internal/db/bundb/util.go
@@ -240,3 +240,9 @@ func whereArrayIsNullOrEmpty(query *bun.SelectQuery, subject interface{}) *bun.S
WhereOr(arrayEmptySQL, subject)
})
}
+
+// accountIDValue is a convenience struct for using
+// CTE's to provide accountIDs to select statuses of.
+type accountIDValue struct {
+ AccountID string `bun:"type:CHAR(26)"`
+}