Quellcode durchsuchen

添加creator_id

visuddhinanda vor 1 Jahr
Ursprung
Commit
81648bfb29
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 = [
     protected $casts = [
         'id' => 'string'
         'id' => 'string'
     ];
     ];
-    protected $fillable = ['id','owner_id','project_id'];
+    protected $fillable = ['id', 'creator_id', 'owner_id', 'project_id'];
 
 
     protected $dates = [
     protected $dates = [
         'created_at',
         'created_at',