@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | */ |
| 20 | 20 | public function up() |
| 21 | 21 | { |
| 22 | - Schema::create(config('follow.followable_table', 'followables'), function (Blueprint $table) { |
|
| 22 | + Schema::create(config('follow.followable_table', 'followables'), function(Blueprint $table) { |
|
| 23 | 23 | $userForeignKey = config('follow.users_table_foreign_key', 'user_id'); |
| 24 | 24 | |
| 25 | 25 | // Laravel 5.8 session user is unsignedBigInteger |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function down() |
| 51 | 51 | { |
| 52 | - Schema::table(config('follow.followable_table', 'followables'), function ($table) { |
|
| 52 | + Schema::table(config('follow.followable_table', 'followables'), function($table) { |
|
| 53 | 53 | $table->dropForeign(config('follow.followable_table', 'followables').'_user_id_foreign'); |
| 54 | 54 | }); |
| 55 | 55 | |