回答編集履歴

1

updated

2021/07/16 13:09

投稿

kai0310
kai0310

スコア2070

test CHANGED
@@ -32,11 +32,13 @@
32
32
 
33
33
  Schema::create('follows', function (Blueprint $table) {
34
34
 
35
- $table->increments('id')->autoIncrement();
35
+ - $table->increments('id')->autoIncrement();
36
36
 
37
37
  - $table->integer('follow');
38
38
 
39
39
  - $table->integer('follower');
40
+
41
+ + $table->id();
40
42
 
41
43
  + $table->foreignId('follow_id');
42
44