-
- Laravel Version: 9.5.1
- PHP Version: 8.0.17
- Database Driver & Version: MySQL 8.0.28
### Description:
When trying to add attributes for serialization as described in the documentation …
-
- Laravel Version: 9.7.0
- PHP Version: 8.1.1
### Description:
In Laravel 9 the `toBase()` function behaves differently than in Laravel 9 when used on a relationship: The `deleted_at IS NULL` con…
-
Hi
Actually Its not properly working for me.
I have the following two models:
Menu
SubMenu
-->I also added the code on the model but its doesn't works.
`class Menu extends Model
{
use H…
-
Here follows the behavior:
1. I have a Product model that is using the Categorizable trait.
2. This Product model also uses the SoftDeletes trait.
3. A product is registered with some categories …
ghost updated
2 years ago
-
- Laravel Version: 9.1.0
- PHP Version: 8.1
- Database Driver & Version: Mysql
### Description:
When using `whereHas` on a Model that implements SoftDeletes and has a relationship to it…
-
Hello Folks
How to add soft delete to user that subclass `AbstractBaseUser` ?
-
The record does not get deleted.
I simply call remove and the initial query looks like this:
```
{
_id: '61e950d8fd8d585d5f23530e'
}
```
Then `softDelete` and `authorize` add their stuff an…
-
**Describe the bug**
Hi!
I found out that `withTrashed()` [route method](https://laravel.com/docs/9.x/routing#implicit-soft-deleted-models) is not working with `screen` - it will throw 404 error…
-
- Larastan Version: 1.7.13
- `--level` used: 8
- Pull request with failing test: https://github.com/pacoorozco/gamify-laravel/pull/268
### Description
Using a already defined local scope in anot…
-
- Laravel Version: 8.61.0
- Nova Version: 3.29.0
- PHP Version: 7.4.28
### Description:
My database has 2 tables, `apartments` and `services`, in one apartment, it can have many services. I want…