feat(cli): manage configured databases
Integration Tests / integration-test (pull_request) Failing after 1m52s

This commit is contained in:
SG Command
2026-09-19 05:11:50 +02:00
parent d3bce39783
commit 7fb64961e7
7 changed files with 985 additions and 2 deletions
+4
View File
@@ -39,6 +39,10 @@ type DatabaseConfig struct {
// fast if the schema is behind, naming the missing migrations and
// pointing at `pgsql-broker install`.
AutoMigrate bool `mapstructure:"auto_migrate"`
// Disabled, when true, excludes this database from `start` (no
// instance is created for it). Defaults to false so existing config
// files without this field are unaffected.
Disabled bool `mapstructure:"disabled"`
}
// BrokerConfig holds broker-specific settings