lib/napa/generators/templates/scaffold/config/database.yml.tt in napa-0.2.1 vs lib/napa/generators/templates/scaffold/config/database.yml.tt in napa-0.3.0
- old
+ new
@@ -1,5 +1,6 @@
defaults: &defaults
+ encoding: <%= @database_encoding %>
adapter: <%= @database_adapter %>
host: <%%= ENV['DATABASE_HOST'] %>
username: <%%= ENV['DATABASE_USER'] %>
password: <%%= ENV['DATABASE_PASSWORD'] %>
database: <%%= ENV['DATABASE_NAME'] %>