From f26c4d47ab259e0f06020646c28e0ffd0089f687 Mon Sep 17 00:00:00 2001 From: Nuradiyana Date: Thu, 4 Jan 2024 20:26:02 +0700 Subject: [PATCH] Fixing migrations --- database/migrations/create_model_upload_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/create_model_upload_table.php b/database/migrations/create_model_upload_table.php index e8ec114..efc0912 100644 --- a/database/migrations/create_model_upload_table.php +++ b/database/migrations/create_model_upload_table.php @@ -17,9 +17,8 @@ public function up(): void $table->string('file_name'); $table->string('storage_disk'); $table->string('file_path'); - $table->string('state', 50); $table->longText('error_message')->nullable(); - $table->longText('exception')->nullable(); + $table->string('state', 50); $table->timestamps(); }); @@ -32,6 +31,7 @@ public function up(): void $table->json('payload')->nullable(); $table->json('meta')->nullable(); $table->longText('error_message')->nullable(); + $table->longText('exception')->nullable(); $table->string('model_id', 36)->nullable(); $table->string('model_type')->nullable(); $table->timestamps();