Fixed migration issue
This commit is contained in:
parent
a6a0a0a506
commit
9c954b4572
|
|
@ -14,7 +14,7 @@ return new class extends Migration
|
|||
Schema::create('stores', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('post_id')
|
||||
->constrained()
|
||||
->constrained('posts', 'id')
|
||||
->cascadeOnDelete()
|
||||
->cascadeOnUpdate();
|
||||
$table->string('key');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user