forked from OpenNeo/impress
Set SQL mode, fix bug in -fits:blue-acara
search
Without this, searches for negative of `fits` or `species` would crash, bc somewhere Rails set the default SQL mode to be stricter than before. This just sets it back!
This commit is contained in:
parent
8fb6e82c5e
commit
44c42f9bfe
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ development:
|
||||||
username: openneo_impress
|
username: openneo_impress
|
||||||
password: openneo_impress
|
password: openneo_impress
|
||||||
pool: 5
|
pool: 5
|
||||||
|
variables:
|
||||||
|
sql_mode: TRADITIONAL
|
||||||
|
|
||||||
production:
|
production:
|
||||||
url: <%= ENV['DATABASE_URL_PRIMARY'] %>
|
url: <%= ENV['DATABASE_URL_PRIMARY'] %>
|
||||||
|
variables:
|
||||||
|
sql_mode: TRADITIONAL
|
||||||
|
|
Loading…
Reference in a new issue