Skip to content

Instantly share code, notes, and snippets.

@dskecse
Created April 7, 2017 15:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dskecse/eee5623b16bb8921c4fb71c8c4ef9aef to your computer and use it in GitHub Desktop.
--- /dev/null 2017-04-07 18:45:21.000000000 +0300
+++ config/database.yml 2017-04-07 18:29:47.000000000 +0300
@@ -0,0 +1,22 @@
+default: &default
+ adapter: postgresql
+ encoding: unicode
+ pool: 5
+
+development:
+ <<: *default
+ database: physiovia_development
+ # username: rails_five_app
+ # password:
+ # host: localhost
+ # port: 5432
+ # schema_search_path: myapp,sharedapp,public
+ # min_messages: notice
+
+test:
+ <<: *default
+ database: physiovia_test
+
+production:
+ <<: *default
+ url: <%= ENV['DATABASE_URL'] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment