From 5408ca7e274b8079f393dd9fb7622268163b60ab Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Fri, 15 May 2026 16:06:54 -0300 Subject: [PATCH] style(media): add void return on migration closures, drop noop ->after --- .../2026_05_15_190137_add_upload_token_to_media_table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/migrations/2026_05_15_190137_add_upload_token_to_media_table.php b/database/migrations/2026_05_15_190137_add_upload_token_to_media_table.php index 925b4e5e..220565a9 100644 --- a/database/migrations/2026_05_15_190137_add_upload_token_to_media_table.php +++ b/database/migrations/2026_05_15_190137_add_upload_token_to_media_table.php @@ -10,14 +10,14 @@ { public function up(): void { - Schema::table('medias', function (Blueprint $table) { - $table->uuid('upload_token')->nullable()->unique()->after('id'); + Schema::table('medias', function (Blueprint $table): void { + $table->uuid('upload_token')->nullable()->unique(); }); } public function down(): void { - Schema::table('medias', function (Blueprint $table) { + Schema::table('medias', function (Blueprint $table): void { $table->dropUnique(['upload_token']); $table->dropColumn('upload_token'); });