Migration fix
This commit is contained in:
parent
f7634e6115
commit
845b430c17
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ return new class extends Migration
|
|||
// sport type defined in pivot table
|
||||
// pics defined in pivot table - first pic is the cover
|
||||
$table->unsignedBigInteger('route_category_id');
|
||||
$table->foreign('route_category_id')->references('id')->on('categories')->onDelete('cascade');
|
||||
$table->foreign('route_category_id')->references('id')->on('route_categories')->onDelete('cascade');
|
||||
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
|
Loading…
Reference in a new issue