Skip to content

[BUGFIX] Make WelcomeController compatible with SQLite

Stephan Großberndt requested to merge feature/sqlite into master

The WelcomeControllerPatch uses MySQL 'RAND()' function to get a random user. This is incompatible with SQLite, which might be a comfortable alternative during testing.

To allow using SQLite, use 'RANDOM()' instead, if the DB adapter is 'sqlite3'.

Merge request reports