Skip to content

Commit

Permalink
feat: enable db logging
Browse files Browse the repository at this point in the history
  • Loading branch information
abyssparanoia committed Dec 30, 2023
1 parent f100fd7 commit b30e568
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/infrastructure/environment/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ type Environment struct {
}

type DatabaseEnvironment struct {
DBHost string `env:"DB_HOST,required"`
DBUser string `env:"DB_USER,required"`
DBPassword string `env:"DB_PASSWORD,required"`
DBDatabase string `env:"DB_DATABASE,required"`
DBHost string `env:"DB_HOST,required"`
DBUser string `env:"DB_USER,required"`
DBPassword string `env:"DB_PASSWORD,required"`
DBDatabase string `env:"DB_DATABASE,required"`
DBLogEnable bool `env:"DB_LOG_ENABLE" envDefault:"false"`
}

type RedisEnvironment struct {
Expand Down

0 comments on commit b30e568

Please sign in to comment.