@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | public function up() |
| 20 | 20 | { |
| 21 | 21 | $connection = config('trans-helper.database.connection') ?: config('database.default'); |
| 22 | - Schema::connection($connection)->create(config('trans-helper.database.table.cite'), function (Blueprint $table) { |
|
| 22 | + Schema::connection($connection)->create(config('trans-helper.database.table.cite'), function(Blueprint $table) { |
|
| 23 | 23 | $table->bigIncrements('id'); |
| 24 | 24 | $table->string('file', 256)->default(''); |
| 25 | 25 | $table->unsignedBigInteger('line'); |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | }); |
| 38 | 38 | Schema::connection($connection)->create( |
| 39 | 39 | config('trans-helper.database.table.term'), |
| 40 | - function (Blueprint $table) { |
|
| 40 | + function(Blueprint $table) { |
|
| 41 | 41 | $table->bigIncrements('id'); |
| 42 | 42 | $table->string('namespace', 256)->default(''); |
| 43 | 43 | $table->string('term', 256)->default(''); |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | Schema::connection($connection)->create( |
| 56 | 56 | config('trans-helper.database.table.link'), |
| 57 | - function (Blueprint $table) { |
|
| 57 | + function(Blueprint $table) { |
|
| 58 | 58 | $table->unsignedBigInteger('cited'); |
| 59 | 59 | $table->unsignedBigInteger('vocab'); |
| 60 | 60 | |