-
I have a pivot table, its model is using the `SoftDeletes` trait and its migration contains `$table->softDeletes()`.
When using `$thing->whatever()->detach($whateverId)`, the pivot's row is removed…
-
$role = Role::create(['name' => 'superadmin','label'=>'مدیر کل','guard_name'=>'web']);
//cartable
$permission = Permission::create(['name' => 'show cartable']);
$role->giv…
-
using base implemention Medialibrary::make('Media')->single(),
-
**Describe the bug**
User has multiple notifications (belongsToMany). The pivot table has a "read" column.
When a user reads a notification I run `updateExistingPivot`. But the next read of user->no…
-
Hello Steve,
How would one go about creating a globalScope or filter to only import users from a specific AD group?
-
As referenced in Issue #422
I'm working with version 3.2 of this package and Laravel 5.5 and there doesn't appear to be a resolve.
The deleted_at attribute is set to false using the Jenssegers\…
-
**Is your feature request related to a problem? Please describe.**
With `scout:import` the model scopes can be set with `ImportSourceFactory`, so you know all related models are correctly indexed a…
-
- Scout Version: 7.2.1
- Laravel Version: 6.0.4
- PHP Version: 7.2.21
- Database Driver & Version: MariaDB 10.4.6
### Description:
Calling `scout:import "App\Model"` causes the error:
> *No…
-
I am using a scenario where every other model inherits from the BaseModel. In BaseModel, I am listening to the following events:
```
public static function boot()
{
parent::boot();
self::cre…
-
- Laravel Version: 5.8
- PHP Version: 7.2.14
- Database Driver & Version: Mysql 5.7.24
### Description:
Just yesterday we were having a php error on one of our model upon retrieval of data I hav…