From 6407d068de4f0940d669a7b0f027da2e13af508a Mon Sep 17 00:00:00 2001 From: antoine Date: Mon, 16 Feb 2026 17:49:57 +0100 Subject: [PATCH] Use ->id() in media migration --- src/Form/Eloquent/Uploads/Migration/uploads.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/Eloquent/Uploads/Migration/uploads.stub b/src/Form/Eloquent/Uploads/Migration/uploads.stub index 718158af1..df72ff718 100644 --- a/src/Form/Eloquent/Uploads/Migration/uploads.stub +++ b/src/Form/Eloquent/Uploads/Migration/uploads.stub @@ -14,7 +14,7 @@ return new class extends Migration public function up() { Schema::create('DummyTable', function (Blueprint $table) { - $table->increments('id'); + $table->id(); $table->morphs('model'); $table->string('model_key')->nullable(); $table->string('file_name')->nullable();