Skip to content

Commit

Permalink
Use non-'jdbc*' names so that db:create and db:drop work
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Jun 21, 2011
1 parent 1cbbe06 commit 4a5f1ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Expand Up @@ -9,7 +9,7 @@
# And be sure to use new-style password hashing: # And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development: development:
adapter: jdbcmysql adapter: mysql
database: <%= app_name %>_development database: <%= app_name %>_development
username: root username: root
password: password:
Expand All @@ -19,14 +19,14 @@ development:
# re-generated from your development database when you run "rake". # re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production. # Do not set this db to the same as development or production.
test: test:
adapter: jdbcmysql adapter: mysql
database: <%= app_name %>_test database: <%= app_name %>_test
username: root username: root
password: password:
host: localhost host: localhost


production: production:
adapter: jdbcmysql adapter: mysql
database: <%= app_name %>_production database: <%= app_name %>_production
username: root username: root
password: password:
Expand Down
Expand Up @@ -4,7 +4,7 @@
# gem 'activerecord-jdbcpostgresql-adapter' # gem 'activerecord-jdbcpostgresql-adapter'


development: development:
adapter: jdbcpostgresql adapter: postgresql
encoding: unicode encoding: unicode
database: <%= app_name %>_development database: <%= app_name %>_development
username: <%= app_name %> username: <%= app_name %>
Expand All @@ -29,14 +29,14 @@ development:
# re-generated from your development database when you run "rake". # re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production. # Do not set this db to the same as development or production.
test: test:
adapter: jdbcpostgresql adapter: postgresql
encoding: unicode encoding: unicode
database: <%= app_name %>_test database: <%= app_name %>_test
username: <%= app_name %> username: <%= app_name %>
password: password:


production: production:
adapter: jdbcpostgresql adapter: postgresql
encoding: unicode encoding: unicode
database: <%= app_name %>_production database: <%= app_name %>_production
username: <%= app_name %> username: <%= app_name %>
Expand Down
Expand Up @@ -5,16 +5,16 @@
# gem 'activerecord-jdbcsqlite3-adapter' # gem 'activerecord-jdbcsqlite3-adapter'
# #
development: development:
adapter: jdbcsqlite3 adapter: sqlite3
database: db/development.sqlite3 database: db/development.sqlite3


# Warning: The database defined as "test" will be erased and # Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake". # re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production. # Do not set this db to the same as development or production.
test: test:
adapter: jdbcsqlite3 adapter: sqlite3
database: db/test.sqlite3 database: db/test.sqlite3


production: production:
adapter: jdbcsqlite3 adapter: sqlite3
database: db/production.sqlite3 database: db/production.sqlite3

0 comments on commit 4a5f1ce

Please sign in to comment.