This commit is contained in:
iVampireSP.com 2023-02-02 20:22:59 +08:00
parent 7992286367
commit fbc1c0c410
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -14,7 +14,7 @@
public function up(): void
{
Schema::create('tasks', function (Blueprint $table) {
$table->uuid()->primary();
$table->uuid('id')->primary();
$table->string('title');
$table->unsignedTinyInteger('progress')->nullable();
$table->enum('status', ['pending', 'done', 'success', 'failed', 'error', 'cancelled', 'processing', 'need_operation'])->index();