fix:修改迁移文件

main
gzydong 2022-05-05 21:04:07 +08:00
parent 5266b79971
commit 4c82c45324
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class CreateSplitUploadTable extends Migration
$table->unsignedTinyInteger('type')->default(2)->comment('数据类型[1:合并文件;2:拆分文件]'); $table->unsignedTinyInteger('type')->default(2)->comment('数据类型[1:合并文件;2:拆分文件]');
$table->unsignedInteger('drive')->unsigned()->default(1)->comment('文件驱动[1:local;2:cos;]'); $table->unsignedInteger('drive')->unsigned()->default(1)->comment('文件驱动[1:local;2:cos;]');
$table->unsignedInteger('user_id')->default(0)->comment('上传的用户ID'); $table->unsignedInteger('user_id')->default(0)->comment('上传的用户ID');
$table->string('upload_id', 32)->default('')->comment('上传文件ID'); $table->string('upload_id', 100)->default('')->comment('上传文件ID');
$table->string('original_name', 100)->default('')->comment('原文件名'); $table->string('original_name', 100)->default('')->comment('原文件名');
$table->unsignedTinyInteger('split_index')->default(0)->comment('当前索引块'); $table->unsignedTinyInteger('split_index')->default(0)->comment('当前索引块');
$table->unsignedTinyInteger('split_num')->default(0)->comment('总上传索引块'); $table->unsignedTinyInteger('split_num')->default(0)->comment('总上传索引块');