ソースを参照

Update Profile model

Daniel Supernault 6 年 前
コミット
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()
     {