-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24f8684
commit 600c771
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# SQLite version 3.x | ||
# gem install sqlite3 | ||
# | ||
# Ensure the SQLite 3 gem is defined in your Gemfile | ||
# gem 'sqlite3' | ||
# | ||
default: &default | ||
adapter: postgresql | ||
encoding: unicode | ||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> | ||
timeout: 5000 | ||
username: <%= ENV.fetch("POSTGRES_USER") { `echo $USER`} %> | ||
password: <%= ENV.fetch("POSTGRES_PASSWORD") { "" } %> | ||
host: <%= ENV.fetch("POSTGRES_HOST") { "" } %> | ||
|
||
development: | ||
<<: *default | ||
database: <%= ENV.fetch("DB_NAME") { "rails_bump_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: rails_bump_test | ||
|
||
production: | ||
<<: *default | ||
database: rails_bump_production |