質問するログイン新規登録

回答編集履歴

1

追記

2019/03/06 16:42

投稿

退会済みユーザー
answer CHANGED
@@ -4,4 +4,6 @@
4
4
  {
5
5
  return $this->belongsTo('App\User', 'u_id');
6
6
  }
7
- ```
7
+ ```
8
+
9
+ [https://readouble.com/laravel/5.7/ja/eloquent-relationships.html#one-to-one](https://readouble.com/laravel/5.7/ja/eloquent-relationships.html#one-to-one)