@@ -24,11 +24,11 @@ |
||
24 | 24 | public function boot() |
25 | 25 | { |
26 | 26 | $this->publishes([ |
27 | - \dirname(__DIR__) . '/migrations/' => database_path('migrations'), |
|
27 | + \dirname(__DIR__).'/migrations/' => database_path('migrations'), |
|
28 | 28 | ], 'migrations'); |
29 | 29 | |
30 | 30 | if ($this->app->runningInConsole()) { |
31 | - $this->loadMigrationsFrom(\dirname(__DIR__) . '/migrations/'); |
|
31 | + $this->loadMigrationsFrom(\dirname(__DIR__).'/migrations/'); |
|
32 | 32 | } |
33 | 33 | } |
34 | 34 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function up() |
22 | 22 | { |
23 | - Schema::create(config('follow.relation_table', 'user_follower'), function (Blueprint $table) { |
|
23 | + Schema::create(config('follow.relation_table', 'user_follower'), function(Blueprint $table) { |
|
24 | 24 | $table->increments('id'); |
25 | 25 | $table->unsignedBigInteger('following_id')->index(); |
26 | 26 | $table->unsignedBigInteger('follower_id')->index(); |