You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config: Postgres and SQLite config options for accounts to dev build
In this commit, we expand the dev build's DevConfig options struct with
Postgres and SQL backend options that can be used to initialise the
account store.
// DevConfig is a struct that holds the configuration options for a development
@@ -15,23 +38,81 @@ import (
15
38
//
16
39
// nolint:lll
17
40
typeDevConfigstruct {
41
+
// DatabaseBackend is the database backend we will use for storing all
42
+
// account related data. While this feature is still in development, we
43
+
// include the bbolt type here so that our itests can continue to be
44
+
// tested against a bbolt backend. Once the full bbolt to SQL migration
45
+
// is complete, however, we will remove the bbolt option.
46
+
DatabaseBackendstring`long:"databasebackend" description:"The database backend to use for storing all account related data." choice:"bbolt" choice:"sqlite" choice:"postgres"`
47
+
48
+
// Sqlite holds the configuration options for a SQLite database
0 commit comments