Pārlūkot izejas kodu

Update Profile model

Daniel Supernault 6 gadi atpakaļ
vecāks
revīzija
abec5e4861
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      app/Profile.php

+ 1 - 0
app/Profile.php

@@ -13,6 +13,7 @@ class Profile extends Model
     protected $dates = ['deleted_at'];
     protected $hidden = ['private_key'];
     protected $visible = ['id', 'user_id', 'username', 'name'];
+    protected $fillable = ['user_id'];
 
     public function user()
     {