diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 6 | ||||
-rw-r--r-- | config/dev.exs | 6 | ||||
-rw-r--r-- | config/test.exs | 5 |
3 files changed, 8 insertions, 9 deletions
diff --git a/config/config.exs b/config/config.exs index 61bf72f..bafbdfe 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,11 +1,5 @@ import Config -config :chessh, Chessh.Repo, - database: "chessh", - username: "postgres", - password: "postgres", - hostname: "localhost" - config :chessh, ecto_repos: [Chessh.Repo] config :esshd, diff --git a/config/dev.exs b/config/dev.exs index becde76..88ee30b 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -1 +1,7 @@ import Config + +config :chessh, Chessh.Repo, + database: "chessh", + username: "postgres", + password: "postgres", + hostname: "localhost" diff --git a/config/test.exs b/config/test.exs index b46bc25..8ab016e 100644 --- a/config/test.exs +++ b/config/test.exs @@ -4,6 +4,5 @@ config :chessh, Chessh.Repo, database: "chessh-test", username: "postgres", password: "postgres", - hostname: "localhost" - -config :chessh, ecto_repos: [Chessh.Repo] + hostname: "localhost", + pool: Ecto.Adapters.SQL.Sandbox |