add fillable fields to models: Note Task TaskStatus
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Failing after 4m13s Details

This commit is contained in:
aslan 2024-05-23 14:53:02 +03:00
parent 50155771fd
commit 1e66821452
3 changed files with 18 additions and 1 deletions

View File

@ -8,4 +8,14 @@ use Illuminate\Database\Eloquent\Model;
class Note extends Model
{
use HasFactory;
protected $fillable = [
'id',
'name',
'description',
'file',
'task_id',
'department_id',
'created_by_id',
];
}

View File

@ -17,8 +17,8 @@ class Task extends Model
'name',
'description',
'parent_id',
'project_id',
'status_id',
'department_id',
'created_by_id',
];

View File

@ -8,4 +8,11 @@ use Illuminate\Database\Eloquent\Model;
class TaskStatus extends Model
{
use HasFactory;
protected $fillable = [
'id',
'name',
'project_id',
'created_by_id',
];
}