@@ -11,16 +11,16 @@ |
||
| 11 | 11 | * |
| 12 | 12 | * @return void |
| 13 | 13 | */ |
| 14 | - public function up() |
|
| 15 | - { |
|
| 16 | - Schema::create('tasks', function (Blueprint $table) { |
|
| 17 | - $table->increments('id'); |
|
| 18 | - $table->string('name'); |
|
| 19 | - $table->unsignedInteger('user_id'); |
|
| 20 | - $table->text('description'); |
|
| 21 | - $table->timestamps(); |
|
| 22 | - }); |
|
| 23 | - } |
|
| 14 | + public function up() |
|
| 15 | + { |
|
| 16 | + Schema::create('tasks', function (Blueprint $table) { |
|
| 17 | + $table->increments('id'); |
|
| 18 | + $table->string('name'); |
|
| 19 | + $table->unsignedInteger('user_id'); |
|
| 20 | + $table->text('description'); |
|
| 21 | + $table->timestamps(); |
|
| 22 | + }); |
|
| 23 | + } |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Reverse the migrations. |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('tasks', function (Blueprint $table) { |
|
| 16 | + Schema::create('tasks', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->unsignedInteger('user_id'); |