Skip to content

Commit

Permalink
inspect adapter_module
Browse files Browse the repository at this point in the history
  • Loading branch information
scrogson committed Apr 20, 2015
1 parent 17181b5 commit 7d84e81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installer/lib/phoenix_new.ex
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ defmodule Mix.Tasks.Phoenix.New do
# Configure your database
config :#{binding[:application_name]}, #{binding[:application_module]}.Repo,
adapter: #{binding[:adapter_module]},
adapter: #{inspect binding[:adapter_module]},
username: "postgres",
password: "postgres",
database: "#{binding[:application_name]}_dev"
Expand All @@ -197,7 +197,7 @@ defmodule Mix.Tasks.Phoenix.New do
# Configure your database
config :#{binding[:application_name]}, #{binding[:application_module]}.Repo,
adapter: #{binding[:adapter_module]},
adapter: #{inspect binding[:adapter_module]},
username: "postgres",
password: "postgres",
database: "#{binding[:application_name]}_test",
Expand All @@ -209,7 +209,7 @@ defmodule Mix.Tasks.Phoenix.New do
# Configure your database
config :#{binding[:application_name]}, #{binding[:application_module]}.Repo,
adapter: #{binding[:adapter_module]},
adapter: #{inspect binding[:adapter_module]},
username: "postgres",
password: "postgres",
database: "#{binding[:application_name]}_prod"
Expand Down

0 comments on commit 7d84e81

Please sign in to comment.