改进
This commit is contained in:
parent
7992286367
commit
fbc1c0c410
@ -14,7 +14,7 @@
|
|||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::create('tasks', function (Blueprint $table) {
|
Schema::create('tasks', function (Blueprint $table) {
|
||||||
$table->uuid()->primary();
|
$table->uuid('id')->primary();
|
||||||
$table->string('title');
|
$table->string('title');
|
||||||
$table->unsignedTinyInteger('progress')->nullable();
|
$table->unsignedTinyInteger('progress')->nullable();
|
||||||
$table->enum('status', ['pending', 'done', 'success', 'failed', 'error', 'cancelled', 'processing', 'need_operation'])->index();
|
$table->enum('status', ['pending', 'done', 'success', 'failed', 'error', 'cancelled', 'processing', 'need_operation'])->index();
|
||||||
|
Loading…
Reference in New Issue
Block a user