chore: merge database gen scripts (#8073)

* chore: merge database gen scripts

* Fix type params gen

* Merge enum into dbgen
This commit is contained in:
Kyle Carberry
2023-06-20 16:24:33 +00:00
committed by GitHub
parent f3b2009499
commit bbb0fab1de
9 changed files with 551 additions and 835 deletions
+7
View File
@@ -18,6 +18,13 @@ import (
"golang.org/x/xerrors"
)
// Well-known lock IDs for lock functions in the database. These should not
// change. If locks are deprecated, they should be kept to avoid reusing the
// same ID.
const (
LockIDDeploymentSetup = iota + 1
)
// Store contains all queryable database functions.
// It extends the generated interface to add transaction support.
type Store interface {