Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function up() |
||
10 | { |
||
11 | Schema::create(config('follow.relation_table', 'user_follower'), function (Blueprint $table) { |
||
12 | $table->increments('id'); |
||
13 | $table->unsignedBigInteger('following_id')->index(); |
||
14 | $table->unsignedBigInteger('follower_id')->index(); |
||
15 | $table->timestamp('accepted_at')->nullable()->index(); |
||
16 | $table->timestamps(); |
||
17 | }); |
||
25 |