aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-01-14 00:28:36 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2024-01-14 00:28:36 -0500
commita9855d5ac39fe4573fd12843f46d97dc48f80f04 (patch)
treee312ad51c50b8c544cc5e7c494dda5e294a5b208 /internal
parentFix readme (diff)
downloadcli-a9855d5ac39fe4573fd12843f46d97dc48f80f04.zip
Fix config
Diffstat (limited to 'internal')
-rw-r--r--internal/configloader/configloader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/configloader/configloader.go b/internal/configloader/configloader.go
index 281ed1f..c50ec24 100644
--- a/internal/configloader/configloader.go
+++ b/internal/configloader/configloader.go
@@ -27,11 +27,11 @@ var errConfigFileNotFound = errors.New(
// This can come from the TOML file or environment variables,
// with environment variables taking precedence.
type Config struct {
- Migrations MigrationsConfig `toml:"bolt.migrations"`
+ Migrations MigrationsConfig `toml:"migrations"`
// Information related to how to connect to the database
// that is desired to run migrations against.
- Connection ConnectionConfig `toml:"bolt.db.connection"`
+ Connection ConnectionConfig `toml:"connection"`
}
type MigrationsConfig struct {