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
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Failing after 4m13s
Details
This commit is contained in:
parent
50155771fd
commit
1e66821452
|
@ -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',
|
||||
];
|
||||
}
|
||||
|
|
|
@ -17,8 +17,8 @@ class Task extends Model
|
|||
'name',
|
||||
'description',
|
||||
'parent_id',
|
||||
'project_id',
|
||||
'status_id',
|
||||
'department_id',
|
||||
'created_by_id',
|
||||
];
|
||||
|
||||
|
|
|
@ -8,4 +8,11 @@ use Illuminate\Database\Eloquent\Model;
|
|||
class TaskStatus extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'name',
|
||||
'project_id',
|
||||
'created_by_id',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue