fixes to uploading in chunks

This commit is contained in:
2023-09-10 19:59:26 +10:00
parent 3e6a9da0d1
commit 3f915d6964
8 changed files with 182 additions and 33 deletions

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('media_jobs', function (Blueprint $table) {
$table->integer('progress_max')->default(0);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('media_jobs', function (Blueprint $table) {
$table->dropColumn('progress_max');
});
}
};