|
@ -23,8 +23,10 @@ class CreateTagsTable extends Migration |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
Schema::create('tag_task', function (Blueprint $table) { |
|
|
Schema::create('tag_task', function (Blueprint $table) { |
|
|
|
|
|
$table->id(); |
|
|
$table->unsignedBigInteger('tag_id'); |
|
|
$table->unsignedBigInteger('tag_id'); |
|
|
$table->unsignedBigInteger('task_id'); |
|
|
$table->unsignedBigInteger('task_id'); |
|
|
|
|
|
$table->timestamps(); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|