Closed skarp2 closed 9 years ago
I now see that
DB::raw()
is used extensively in the application. app/controllers folder has 73 occurrences. This means that this fix is absolutely the correct one, in my opinion, because the application is committed to SQL syntax anyway.
MySQL (and probably MariaDB) are the only supported DB's atm. This fix is ok for that ;)
... columns as nullable. Must use raw queries to achieve this, so perhaps create conditionals to cater for other supported storage methods.
Solves this bug: Failing to install #333 and also an unreported bug when creating a user in back end.
This is the unreported bug that is fixed: When adding new user from back end: URI: /configuration/user/new-user
Caveats
Why this solution anyway
Alternative fix
Modify the User model; if last_login and last_login_source is not set, then add the following default values;