Skip to content

Commit 1c51d3f

Browse files
committed
update: uid
1 parent 43a46e8 commit 1c51d3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

laravel/database/migrations/2019_01_28_205011_create_api_excel_table.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ public function up()
2222
$table->string('upload_url', 255)->default('')->comment('上传地址');
2323
$table->string('finish_url', 255)->default('')->comment('处理完成 url');
2424
$table->string('description')->default('')->comment('描述');
25-
$table->string('uid')->default('')->comment('上传用户');
25+
$table->unsignedInteger('uid')->default('0')->comment('上传用户ID号');
2626
$table->unsignedTinyInteger('state')->default('0')->comment('处理状态,0 新加入,1 开始处理;2 处理完成');
2727
$table->timestamps();
2828
$table->index('api_param_id', 'index_api_param_id');
29+
$table->index('uid', 'index_uid');
2930
});
3031
}
3132

0 commit comments

Comments
 (0)