Two month of work
This commit is contained in:
1 parent
0ffbeeedff
commit
d9fd3d1ccb
158 files changed
+5637
-1512
No files matched your search
@@ -22,6 +22,8 @@ public function user()
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
// Polymorphic relationship to the notable model (e.g., Lead, Contact, PipelineItem, etc.)
|
||||
// https://laravel.com/docs/12.x/eloquent-relationships#one-to-many-polymorphic-relations
|
||||
public function notable()
|
||||
{
|
||||
return $this->morphTo();
|
||||
|
||||
Reference in new issue
Block a user