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:
Emi Matchu 2023-08-04 17:20:04 -07:00
parent 8fb6e82c5e
commit 44c42f9bfe

View file

@ -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