lib/config/mysql.tmpl in arxutils-0.1.31 vs lib/config/mysql.tmpl in arxutils-0.1.35
- old
+ new
@@ -7,23 +7,23 @@
default_env: &default
adapter: mysql2
host: localhost
username: root
password:
- database: <%= x.name %>
+ database: <%= @data[:dbname] %>
pool: 5
timeout: 5000
development:
<<: *default
- database: <%= x.name %>_developement
+ database: <%= @data[:dbname] %>_developement
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
- database: <%= x.name %>_test
+ database: <%= @data[:dbname] %>_test
production:
<<: *default
- database: <%= x.name %>_production
+ database: <%= @data[:dbname] %>_production