Skip to content

Commit

Permalink
auth,bank: Use the same DB in dev & test
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Aug 7, 2016
1 parent 5fda51b commit a9a115b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/auth/config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ config :auth, Auth.Repo,
adapter: Ecto.Adapters.Postgres,
username: "postgres",
password: "postgres",
database: "auth_#{Mix.env}",
database: "bank_platform_#{Mix.env}",
hostname: "localhost"
2 changes: 1 addition & 1 deletion apps/auth/config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config :auth, Auth.Repo,
adapter: Ecto.Adapters.Postgres,
username: "postgres",
password: "postgres",
database: "auth_#{Mix.env}",
database: "bank_platform_#{Mix.env}",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox

Expand Down
2 changes: 1 addition & 1 deletion apps/bank/config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ config :bank, Bank.Repo,
adapter: Ecto.Adapters.Postgres,
username: "postgres",
password: "postgres",
database: "bank_web_#{Mix.env}",
database: "bank_platform_#{Mix.env}",
hostname: "localhost"

2 changes: 1 addition & 1 deletion apps/bank/config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ config :bank, Bank.Repo,
adapter: Ecto.Adapters.Postgres,
username: "postgres",
password: "postgres",
database: "bank_web_#{Mix.env}",
database: "bank_platform_#{Mix.env}",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox

0 comments on commit a9a115b

Please sign in to comment.