aboutsummaryrefslogtreecommitdiffstats
path: root/internal/configloader/configloader.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/configloader/configloader.go')
-rw-r--r--internal/configloader/configloader.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/internal/configloader/configloader.go b/internal/configloader/configloader.go
index 842dcfb..81a9564 100644
--- a/internal/configloader/configloader.go
+++ b/internal/configloader/configloader.go
@@ -55,12 +55,8 @@ type MigrationsConfig struct {
}
type ConnectionConfig struct {
- Host string `toml:"host" env:"HOST"`
- Port string `toml:"port" env:"PORT"`
- User string `toml:"user" env:"USER"`
- Password string `toml:"password" env:"PASSWORD"`
- DBName string `toml:"dbname" env:"NAME"`
- Driver string `toml:"driver" env:"DRIVER"`
+ DSN string `toml:"dsn" env:"DSN"`
+ Driver string `toml:"driver" env:"DRIVER"`
MigrationsTable string `toml:"migrations_table" env:"MIGRATIONS_TABLE"`
}