Project

General

Profile

« Previous | Next » 

Revision 7c7ddfe0

Added by Brian Gupta almost 12 years ago

  • ID 7c7ddfe0a7a2e688bc9c4d53689ae9884bb65432

fixes #1624 - Moved database.yml to database.yml.example

keeping the database configuration file within the repo is not needed,
therefore, we moved it to an example config file, and added the
database.yml to a to .gitignore

NOTE: this would break you installation, as you would need to:

cp config/database.yml.example config/database.yml

View differences:

.gitignore
db/schema.rb
config/settings.yaml
config/email.yaml
config/database.yml
Gemfile.lock
*.sw?
.idea
config/database.yml
# SQLite version 3.x
# gem install sqlite3
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# 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: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
config/database.yml.example
# SQLite version 3.x
# gem install sqlite3
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# 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: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000

Also available in: Unified diff