Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

[BUGFIX] Make WelcomeController compatible with SQLite #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

StephenKing
Copy link
Member

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'.

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'.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant