Level 51
I think this can be done using global scopes
https://laravel.com/docs/5.7/eloquent#query-scopes
If this is for testing only you will need to add a conditional to the scope
if (App::environment(testingl')) {
// apply collate no case scope
}