mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 13:04:03 +00:00
Rename config from include_in_scope to include_in_queries
This commit is contained in:
parent
e11807490e
commit
c8eadeb363
3 changed files with 4 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ class ReadiedScope implements Scope
|
|||
*/
|
||||
public function apply(Builder $builder, Model $model)
|
||||
{
|
||||
$builder->when(!config('tenancy.readied.include_in_scope'), function (Builder $builder){
|
||||
$builder->when(!config('tenancy.readied.include_in_queries'), function (Builder $builder){
|
||||
$builder->whereNull('data->readied');
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue