Add openneo_id to database.yml
This will enable us to access the auth records, which we store in a separate database for weird legacy reasons! We don't do anything else yet, just set up the connection to be available. (NOTE: This commit was a bit of a history rewrite: we started working on this with `database.yml` still gitignored, but then in8fb6e82
we added it back in to be able to fix a bug in44c42f9
. So previously this branch added back `database.yml` to git *and* added `openneo_id` to it, but since then I've rebased against the other changes, and rewrote history to make this a change to *just* add the database! I also moved it in the timeline, to be before some of the other things that depend on it.)
This commit is contained in:
parent
0e4cc80ac8
commit
fbda28e453
1 changed files with 26 additions and 10 deletions
|
@ -1,4 +1,5 @@
|
||||||
development:
|
development:
|
||||||
|
primary:
|
||||||
adapter: mysql2
|
adapter: mysql2
|
||||||
database: openneo_impress
|
database: openneo_impress
|
||||||
username: openneo_impress
|
username: openneo_impress
|
||||||
|
@ -7,7 +8,22 @@ development:
|
||||||
variables:
|
variables:
|
||||||
sql_mode: TRADITIONAL
|
sql_mode: TRADITIONAL
|
||||||
|
|
||||||
|
openneo_id:
|
||||||
|
adapter: mysql2
|
||||||
|
database: openneo_id
|
||||||
|
username: openneo_impress
|
||||||
|
password: openneo_impress
|
||||||
|
pool: 2
|
||||||
|
variables:
|
||||||
|
sql_mode: TRADITIONAL
|
||||||
|
|
||||||
production:
|
production:
|
||||||
|
primary:
|
||||||
url: <%= ENV['DATABASE_URL_PRIMARY'] %>
|
url: <%= ENV['DATABASE_URL_PRIMARY'] %>
|
||||||
variables:
|
variables:
|
||||||
sql_mode: TRADITIONAL
|
sql_mode: TRADITIONAL
|
||||||
|
|
||||||
|
openneo_id:
|
||||||
|
url: <%= ENV['DATABASE_URL_OPENNEO_ID'] %>
|
||||||
|
variables:
|
||||||
|
sql_mode: TRADITIONAL
|
||||||
|
|
Loading…
Reference in a new issue