Skip to content

Instantly share code, notes, and snippets.

@Fire-Dragon-DoL
Forked from Aureon/database.yml
Last active August 29, 2015 14:04
Show Gist options
  • Save Fire-Dragon-DoL/5bb97603903f1c59be10 to your computer and use it in GitHub Desktop.
Save Fire-Dragon-DoL/5bb97603903f1c59be10 to your computer and use it in GitHub Desktop.
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: postgresql
encoding: utf8
database: nome_del_db
username: user_del_db
password: password_dell_user
host: localhost
port: 5432 # O altra, non so dov'è
pool: 25
min_messages: warning
development:
<<: *default
database: nome_del_db_development
# 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:
<<: *default
database: nome_del_db_test
production:
<<: *default
database: nome_del_db_production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment