Skip to content

Commit

Permalink
Merge branch 'kaustubh-nair-patch-3' of https://github.com/publiclab/…
Browse files Browse the repository at this point in the history
…mapknitter into kaustubh-nair-patch-3
  • Loading branch information
alaxalves committed Jun 26, 2019
2 parents df95f15 + a32bd02 commit 08b6de8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
15 changes: 9 additions & 6 deletions config/database.yml.cloud9.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ default: &default

development:
<<: *default
username:
password:
username:
password:
database: mapknitter_dev

production:
<<: *default
username: root
password:
adapter: mysql2
encoding: utf8
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: db
username: mapknitter
password: mapknitter
database: mapknitter

test:
<<: *default
username:
password:
database: mapknitter_test
database: mapknitter_test
11 changes: 7 additions & 4 deletions config/database.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ development:
database: mapknitter_dev

production:
<<: *default
username: root
password:
adapter: mysql2
encoding: utf8
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: db
username: mapknitter
password: mapknitter
database: mapknitter

test:
<<: *default
username:
password:
database: mapknitter_test
database: mapknitter_test

0 comments on commit 08b6de8

Please sign in to comment.