Tested on chromium and safari:
- [on master] Replaced code in `isSQLiteSupported`:
```
return false; // <- added
if (!isDev && (!currentLoggedInUserID || !isStaff(currentLoggedInUserID))) {
return false;
}
```
- Logged in, made sure that there is `persist:root` in local storage, closed the web page
- [Applied this diff] Opened the web page
- Checked logs
- "Database initialization success"
- "migrating state to sqlite storage"
- "version match, noop migration"
- Checked if selected apps were persisted after reload
- Reloaded web app, logged out, reload again -> checked if after each operation I got "Database initialization success" log
Tested on chromium:
- [On master] Replaced the code like in the previous test case, but _didn't_ log in
- Made sure that there is `persist:root` in local storage, closed the web page
- [Applied diff + added console log when user id is set] Opened the web page, checked that the logs are the same as in the previous test case (db init and sqlite migration)
- Logged in -> user id was set
- Reloaded -> got "Database intialization success"
- Logged out -> got "Clearing sensitive data" and "Database intialization success"