1
0
Daniel Supernault 6 жил өмнө
parent
commit
abec5e4861
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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()
     {