Skip to content

Commit

Permalink
Added databases field in Postgres config. (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemkondyukov authored and ozzzzz committed Sep 20, 2018
1 parent 566a49f commit b150c9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.1.0.6] - 2018-09-20
### Fixed
- Bugfix with imports

## [0.1.0.5] - 2018-09-20
### Added
- Field `databases` in Postgres config.
Expand Down
2 changes: 1 addition & 1 deletion bcd-config.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: bcd-config
version: 0.1.0.5
version: 0.1.0.6
synopsis: Library to get config.
description: Library to get config to different systems
homepage: https://github.com/biocad/bcd-config#readme
Expand Down
2 changes: 2 additions & 0 deletions src/System/BCD/Config/Postgres.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module System.BCD.Config.Postgres
) where

import Data.Aeson.Picker ((|--))
import Data.Map.Strict (Map)
import Data.Text (Text)
import System.BCD.Config (FromJsonConfig (..), getConfigText)

data PostgresConfig = PostgresConfig { _host :: String
Expand Down

0 comments on commit b150c9b

Please sign in to comment.