Commit 61317644 by lujunyi

处方单编号

parent b73d1225
......@@ -13,8 +13,8 @@ public function up(): void
{
Schema::create('prescription', function (Blueprint $table) {
$table->comment('处方单');
$table->bigIncrements('id');
$table->string('prescription_umber', 64)->nullable()->comment('处方单编号');
$table->bigIncrements('id')->startingValue(10000001)->comment('处方单编号');
// $table->string('prescription_umber', 64)->nullable()->comment('处方单编号');
$table->tinyInteger('status')->comment('审方状态[0=待开方,1=待审方,2=审方成功]');
$table->bigInteger('user_id')->default(0)->comment('用户表ID。药店添加则为0');
......
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