Răsfoiți Sursa

添加creator_id

visuddhinanda 1 an în urmă
părinte
comite
81648bfb29
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      api-v8/app/Models/Task.php

+ 1 - 1
api-v8/app/Models/Task.php

@@ -12,7 +12,7 @@ class Task extends Model
     protected $casts = [
         'id' => 'string'
     ];
-    protected $fillable = ['id','owner_id','project_id'];
+    protected $fillable = ['id', 'creator_id', 'owner_id', 'project_id'];
 
     protected $dates = [
         'created_at',