54 lines
1.1 KiB
Plaintext
Executable File
54 lines
1.1 KiB
Plaintext
Executable File
# SQLite version 3.x
|
|
# gem install sqlite3
|
|
#
|
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
# gem 'sqlite3'
|
|
|
|
# development:
|
|
# adapter: sqlite3
|
|
# database: db/development.sqlite3
|
|
# pool: 5
|
|
# timeout: 5000
|
|
|
|
development:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: YOUR_DATABASE_development
|
|
host: localhost
|
|
pool: 5
|
|
username: YOUR_USERNAME_HERE
|
|
password: YOUR_PASSWORD_HERE
|
|
|
|
# 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
|
|
|
|
test:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: YOUR_DATABASE_test
|
|
host: localhost
|
|
pool: 5
|
|
username: YOUR_USERNAME_HERE
|
|
password: YOUR_PASSWORD_HERE
|
|
|
|
# production:
|
|
# adapter: sqlite3
|
|
# database: db/production.sqlite3
|
|
# pool: 5
|
|
# timeout: 5000
|
|
|
|
production:
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
database: YOUR_DATABASE_production
|
|
host: localhost
|
|
pool: 5
|
|
username: YOUR_USERNAME_HERE
|
|
password: YOUR_PASSWORD_HERE |