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();