| @@ 17-24 (lines=8) @@ | ||
| 14 | public function up() |
|
| 15 | { |
|
| 16 | ||
| 17 | Schema::create('Task', function (Blueprint $table) { |
|
| 18 | $table->increments('id'); |
|
| 19 | $table->string('title', 50); |
|
| 20 | $table->string('description', 250)->nullable(); |
|
| 21 | $table->tinyInteger('status'); |
|
| 22 | $table->timestamps(); |
|
| 23 | $table->softDeletes(); |
|
| 24 | }); |
|
| 25 | ||
| 26 | Schema::create('TaskList', function (Blueprint $table) { |
|
| 27 | $table->increments('id'); |
|
| @@ 26-32 (lines=7) @@ | ||
| 23 | $table->softDeletes(); |
|
| 24 | }); |
|
| 25 | ||
| 26 | Schema::create('TaskList', function (Blueprint $table) { |
|
| 27 | $table->increments('id'); |
|
| 28 | $table->string('name', 50); |
|
| 29 | $table->string('description', 250)->nullable(); |
|
| 30 | $table->timestamps(); |
|
| 31 | $table->softDeletes(); |
|
| 32 | }); |
|
| 33 | ||
| 34 | Schema::create('Task_TaskList', function (Blueprint $table) { |
|
| 35 | $table->increments('id'); |
|