From a1f14d1a85b3abd36cd6cdd093d11fd4bbd4605e Mon Sep 17 00:00:00 2001 From: Florian Weber <csshsh@gmail.com> Date: Sun, 16 Oct 2005 09:51:04 +0000 Subject: Made the rails command use the application name for database names in the tailored database.yml file. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/configs/database.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/configs') diff --git a/railties/configs/database.yml b/railties/configs/database.yml index e8977ea352..b72fd61bc7 100644 --- a/railties/configs/database.yml +++ b/railties/configs/database.yml @@ -1,6 +1,6 @@ development: adapter: mysql - database: rails_development + database: <%= app_name %>_development host: localhost username: root password: @@ -12,14 +12,14 @@ development: # Do not set this db to the same as development or production. test: adapter: mysql - database: rails_test + database: <%= app_name %>_test host: localhost username: root password: production: adapter: mysql - database: rails_production + database: <%= app_name %>_production host: localhost username: root password: -- cgit v1.2.3