Skip to content

Commit 36e7a48

Browse files
laravel 11 floating-point types
1 parent 7c33259 commit 36e7a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/features/FileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private function createTestTable(): self
126126
Schema::create('attachable_models', function ($table) {
127127
$table->increments('id');
128128

129-
$table->unsignedBigInteger('file_id')->nullable();
129+
$table->bigInteger('file_id')->unsigned()->nullable();
130130
$table->foreign('file_id')->references('id')->on('files')
131131
->onUpdate('restrict')->onDelete('restrict');
132132

0 commit comments

Comments
 (0)