mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use non-'jdbc*' names so that db:create and db:drop work
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# And be sure to use new-style password hashing:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
||||
development:
|
||||
adapter: jdbcmysql
|
||||
adapter: mysql
|
||||
database: <%= app_name %>_development
|
||||
username: root
|
||||
password:
|
||||
@@ -19,14 +19,14 @@ development:
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
adapter: jdbcmysql
|
||||
adapter: mysql
|
||||
database: <%= app_name %>_test
|
||||
username: root
|
||||
password:
|
||||
host: localhost
|
||||
|
||||
production:
|
||||
adapter: jdbcmysql
|
||||
adapter: mysql
|
||||
database: <%= app_name %>_production
|
||||
username: root
|
||||
password:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# gem 'activerecord-jdbcpostgresql-adapter'
|
||||
|
||||
development:
|
||||
adapter: jdbcpostgresql
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: <%= app_name %>_development
|
||||
username: <%= app_name %>
|
||||
@@ -29,14 +29,14 @@ development:
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
adapter: jdbcpostgresql
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: <%= app_name %>_test
|
||||
username: <%= app_name %>
|
||||
password:
|
||||
|
||||
production:
|
||||
adapter: jdbcpostgresql
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: <%= app_name %>_production
|
||||
username: <%= app_name %>
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
# gem 'activerecord-jdbcsqlite3-adapter'
|
||||
#
|
||||
development:
|
||||
adapter: jdbcsqlite3
|
||||
adapter: sqlite3
|
||||
database: db/development.sqlite3
|
||||
|
||||
# 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:
|
||||
adapter: jdbcsqlite3
|
||||
adapter: sqlite3
|
||||
database: db/test.sqlite3
|
||||
|
||||
production:
|
||||
adapter: jdbcsqlite3
|
||||
adapter: sqlite3
|
||||
database: db/production.sqlite3
|
||||
|
||||
Reference in New Issue
Block a user