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
13
35
// environment. The purpose of this struct is to hold config options for
14
36
// features not yet available in production. Since our itests are built with
15
37
// the dev tag, we can test these features in our itests.
16
38
//
17
39
// nolint:lll
18
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