We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c33259 commit 36e7a48Copy full SHA for 36e7a48
tests/features/FileTest.php
@@ -126,7 +126,7 @@ private function createTestTable(): self
126
Schema::create('attachable_models', function ($table) {
127
$table->increments('id');
128
129
- $table->unsignedBigInteger('file_id')->nullable();
+ $table->bigInteger('file_id')->unsigned()->nullable();
130
$table->foreign('file_id')->references('id')->on('files')
131
->onUpdate('restrict')->onDelete('restrict');
132
0 commit comments