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
caef1620be
commit
d8eea93c1c
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ development:
|
|||
username: openneo_impress
|
||||
password: openneo_impress
|
||||
pool: 5
|
||||
variables:
|
||||
sql_mode: TRADITIONAL
|
||||
|
||||
production:
|
||||
url: <%= ENV['DATABASE_URL_PRIMARY'] %>
|
||||
variables:
|
||||
sql_mode: TRADITIONAL
|
||||
|
|
Loading…
Reference in a new issue