Closed PeraMika closed 5 years ago
Searchable doesn't work in 'strict' mode (which is enabled by default in the newer versions of Laravel). In config/database.php this is required:
config/database.php
strict' => false,
or this:
'strict' => true, // Explicitly enable specific modes, overriding strict setting 'modes' => [ // 'ONLY_FULL_GROUP_BY', 'STRICT_TRANS_TABLES', 'NO_ZERO_IN_DATE', 'NO_ZERO_DATE', 'ERROR_FOR_DIVISION_BY_ZERO', 'NO_AUTO_CREATE_USER', 'NO_ENGINE_SUBSTITUTION' ],
to make Searchable working... It would be nice to mention this in the documentation ;)
added to the documentation, thanks
Searchable doesn't work in 'strict' mode (which is enabled by default in the newer versions of Laravel). In
config/database.php
this is required:or this:
to make Searchable working... It would be nice to mention this in the documentation ;)