Add foreign keys to field in Category, Item models.

This commit is contained in:
2023-06-19 15:04:02 +03:00
parent 90edc9bdf4
commit e0ec4f1efa
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ class Category extends Model
'uuid',
'name',
'url',
'company_id',
];
public function company(): BelongsTo