fix upload using file upload storage php not base64
This commit is contained in:
@@ -20,18 +20,23 @@ class CreatePrechecksTable extends Migration
|
||||
$table->timestamp('precheck_at')->nullable();
|
||||
$table->string('police_number');
|
||||
$table->string('spk_number');
|
||||
$table->string('front_image');
|
||||
$table->string('front_image', 255)->nullable();
|
||||
$table->json('front_image_metadata')->nullable();
|
||||
$table->decimal('kilometer', 10, 2);
|
||||
$table->decimal('pressure_high', 10, 2);
|
||||
$table->decimal('pressure_low', 10, 2)->nullable();
|
||||
$table->decimal('cabin_temperature', 10, 2)->nullable();
|
||||
$table->string('cabin_temperature_image')->nullable();
|
||||
$table->string('cabin_temperature_image', 255)->nullable();
|
||||
$table->json('cabin_temperature_image_metadata')->nullable();
|
||||
$table->enum('ac_condition', ['kotor', 'rusak', 'baik', 'tidak ada'])->nullable();
|
||||
$table->string('ac_image')->nullable();
|
||||
$table->string('ac_image', 255)->nullable();
|
||||
$table->json('ac_image_metadata')->nullable();
|
||||
$table->enum('blower_condition', ['kotor', 'rusak', 'baik', 'tidak ada'])->nullable();
|
||||
$table->string('blower_image')->nullable();
|
||||
$table->string('blower_image', 255)->nullable();
|
||||
$table->json('blower_image_metadata')->nullable();
|
||||
$table->enum('evaporator_condition', ['kotor', 'berlendir', 'bocor', 'bersih'])->nullable();
|
||||
$table->string('evaporator_image')->nullable();
|
||||
$table->string('evaporator_image', 255)->nullable();
|
||||
$table->json('evaporator_image_metadata')->nullable();
|
||||
$table->enum('compressor_condition', ['kotor', 'rusak', 'baik', 'tidak ada'])->nullable();
|
||||
$table->text('precheck_notes')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user