@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace App\Console\Commands; |
4 | 4 | |
5 | 5 | use Symfony\Component\Console\Command\Command; |
6 | -use Symfony\Component\Console\Input\InputArgument; |
|
7 | 6 | use Symfony\Component\Console\Input\InputInterface; |
8 | -use Symfony\Component\Console\Input\InputOption; |
|
9 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 8 | |
11 | 9 | /** |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace App\Console\Commands; |
4 | 4 | |
5 | 5 | use Symfony\Component\Console\Command\Command; |
6 | -use Symfony\Component\Console\Input\InputArgument; |
|
7 | 6 | use Symfony\Component\Console\Input\InputInterface; |
8 | -use Symfony\Component\Console\Input\InputOption; |
|
9 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 8 | |
11 | 9 | /** |
@@ -117,8 +117,7 @@ |
||
117 | 117 | |
118 | 118 | try { |
119 | 119 | if (!Capsule::schema()->hasTable($tableName)) { |
120 | - Capsule::schema()->create($tableName, function($table) |
|
121 | - { |
|
120 | + Capsule::schema()->create($tableName, function($table) { |
|
122 | 121 | $table->string('version'); |
123 | 122 | $table->timestamp('apply_time')->useCurrent(); |
124 | 123 |