We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a46e8 commit 1c51d3fCopy full SHA for 1c51d3f
laravel/database/migrations/2019_01_28_205011_create_api_excel_table.php
@@ -22,10 +22,11 @@ public function up()
22
$table->string('upload_url', 255)->default('')->comment('上传地址');
23
$table->string('finish_url', 255)->default('')->comment('处理完成 url');
24
$table->string('description')->default('')->comment('描述');
25
- $table->string('uid')->default('')->comment('上传用户');
+ $table->unsignedInteger('uid')->default('0')->comment('上传用户ID号');
26
$table->unsignedTinyInteger('state')->default('0')->comment('处理状态,0 新加入,1 开始处理;2 处理完成');
27
$table->timestamps();
28
$table->index('api_param_id', 'index_api_param_id');
29
+ $table->index('uid', 'index_uid');
30
});
31
}
32
0 commit comments