-
In Nova4 [Inline HasOne Creation](https://nova.laravel.com/docs/4.0/releases.html#inline-hasone-creation) has been introduced that allows to create/update a `HasOne`/`MorphOne` relation from the paren…
-
## Problem
Once again this idea is inspired by Ruby on Rails. ;) ActiveRecord (the ORM library that ships with Rails) has the concept of a "has many through" relationship. That is, one record has m…
-
### Package
filament/filament
### Package Version
3.2.92
### Laravel Version
11.11.0
### Livewire Version
2.9
### PHP Version
8.2
### Problem description
Hello, i've a…
-
I have a table **users** and a table **organizations**. A user belongs to one organization. When I run I generate the models the relationship from users.org_id to organizations.org_id in the User mode…
-
Hey there,
I've just installed your package on an empty project to play a little around. Once I created a role I receive this error. The error only appears if I add the relation on the UserRessour…
-
The intermediate pivot table doesn't do soft delete when using sync(). For example(),
public function dept()
{
return $this->belongsToMany('App\Dept', 'user_dept', 'user_id', 'dept_id')…
-
Hi I apologize for posting here if I am wrong but I am a total newcomer. I am not even sure if this is an issue.
I have 3 tables -
Division
User
Post
Division - User is a ManyToMany laravel …
-
i have below tables
users
```
id
name
last_name
```
categories
```
id
name
```
category_user
```
user_id
category_id
```
user can have many categories, i mean they have Many t…
-
Taking a look at the docs and a couple issues here on the repo, I understand that relationships with Flexible Content are different from the usual ones used for nova, and to get a relationship working…
-
**Proposed Eager Loading for Pivot models**
Use keyword **pivot** in eager loading pivot models.
`Project::with(['users.pivot.role'])->get();`
**Tables**
```
projects
- id
- name
role…