Commit 736361db by 赵增煜

问诊人增加年龄字段

parent c2861723
...@@ -16,6 +16,7 @@ public function up(): void ...@@ -16,6 +16,7 @@ public function up(): void
$table->bigIncrements('id'); $table->bigIncrements('id');
$table->string('name', 50)->comment('姓名'); $table->string('name', 50)->comment('姓名');
$table->tinyInteger('gender')->default(0)->comment('性别。[1=男性,2=女性,0=未知]'); $table->tinyInteger('gender')->default(0)->comment('性别。[1=男性,2=女性,0=未知]');
$table->integer('age')->default(0)->comment('年龄');
$table->string('id_card', 18)->index('idx_idcard')->comment('身份证号'); $table->string('id_card', 18)->index('idx_idcard')->comment('身份证号');
$table->string('mobile', 11)->index('idx_mobile')->comment('手机号'); $table->string('mobile', 11)->index('idx_mobile')->comment('手机号');
$table->bigInteger('user_id')->default(0)->index('idx_userid')->comment('用户表ID。用户添加问诊人才有值'); $table->bigInteger('user_id')->default(0)->index('idx_userid')->comment('用户表ID。用户添加问诊人才有值');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment