|
@@ 34-42 (lines=9) @@
|
| 31 |
|
$table->softDeletes(); |
| 32 |
|
}); |
| 33 |
|
|
| 34 |
|
Schema::create('Task_TaskList', function (Blueprint $table) { |
| 35 |
|
$table->increments('id'); |
| 36 |
|
$table->integer('task')->unsigned(); |
| 37 |
|
$table->integer('tasklist')->unsigned(); |
| 38 |
|
$table->integer('order'); |
| 39 |
|
|
| 40 |
|
$table->foreign('task')->references('id')->on('Task'); |
| 41 |
|
$table->foreign('tasklist')->references('id')->on('TaskList'); |
| 42 |
|
}); |
| 43 |
|
|
| 44 |
|
Schema::create('Task_User', function (Blueprint $table) { |
| 45 |
|
$table->increments('id'); |
|
@@ 44-51 (lines=8) @@
|
| 41 |
|
$table->foreign('tasklist')->references('id')->on('TaskList'); |
| 42 |
|
}); |
| 43 |
|
|
| 44 |
|
Schema::create('Task_User', function (Blueprint $table) { |
| 45 |
|
$table->increments('id'); |
| 46 |
|
$table->integer('task')->unsigned(); |
| 47 |
|
$table->integer('user')->unsigned(); |
| 48 |
|
|
| 49 |
|
$table->foreign('task')->references('id')->on('Task'); |
| 50 |
|
$table->foreign('user')->references('id')->on('User'); |
| 51 |
|
}); |
| 52 |
|
|
| 53 |
|
Schema::create('TaskList_User', function (Blueprint $table) { |
| 54 |
|
$table->increments('id'); |
|
@@ 53-60 (lines=8) @@
|
| 50 |
|
$table->foreign('user')->references('id')->on('User'); |
| 51 |
|
}); |
| 52 |
|
|
| 53 |
|
Schema::create('TaskList_User', function (Blueprint $table) { |
| 54 |
|
$table->increments('id'); |
| 55 |
|
$table->integer('tasklist')->unsigned(); |
| 56 |
|
$table->integer('user')->unsigned(); |
| 57 |
|
|
| 58 |
|
$table->foreign('tasklist')->references('id')->on('TaskList'); |
| 59 |
|
$table->foreign('user')->references('id')->on('User'); |
| 60 |
|
}); |
| 61 |
|
|
| 62 |
|
Schema::create('TaskLog', function (Blueprint $table) { |
| 63 |
|
$table->increments('id'); |