1
0
Fork 0
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:
Emi Matchu 2023-08-04 17:20:04 -07:00
parent caef1620be
commit d8eea93c1c

View file

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