If do not specify strict_mode explicitly, do not set sql_mode.

Related https://github.com/rails/rails/issues/17370