Commit 78ccae4d by 赵增煜

字段调整

parent f1dde956
......@@ -12,8 +12,8 @@
public function up(): void
{
Schema::table('prescription', function (Blueprint $table) {
$table->text('symptom')->comment('症状(json格式)');
$table->text('doses')->comment('剂数(中药)');
$table->text('symptom')->nullable()->comment('症状(json格式)');
$table->integer('doses')->default(0)->comment('剂数(中药)');
});
}
......
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