Closed isztldav closed 4 years ago
Hi @trakons ,
Soo... Id columns should be unsigned
if artisan is configured to add foreign key constraints. Do I understand you suggestion correctly?
Cheers!
PR #165 got merged inside the v2
branch. So that in Laravel 5.8+ we're always using unsignedBigIntegers
just like the Laravel default. So I'm going to close this. Let me know if this still doesn't fix the issue and we'll reopen it.
Cheers!
Description:
I tried several times but laravel cannot migrate without these fixes
Steps To Reproduce:
After
public function up()
addSchema::enableForeignKeyConstraints();
To the foreign column add
->unsigned()
$table->integer('shopCategories_id');
->$table->integer('shopCategories_id')->unsigned();
In the attached picture you can see the result before and after my additions