Task 8 - belongstomany add

This commit is contained in:
PovilasKorop
2021-11-22 11:46:59 +02:00
parent fc0bf0d079
commit a114584904
8 changed files with 129 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Project extends Model
{
use HasFactory;
protected $fillable = ['name'];
}