Commit 0c71afce by lujunyi

迁移文件

parent 5868c643
...@@ -28,7 +28,7 @@ public function up() ...@@ -28,7 +28,7 @@ public function up()
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
}); });
\DB::statement("ALTER TABLE `patient` comment '药品'"); \DB::statement("ALTER TABLE `drug` comment '药品'");
} }
/** /**
......
...@@ -21,7 +21,7 @@ public function up() ...@@ -21,7 +21,7 @@ public function up()
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
}); });
\DB::statement("ALTER TABLE `patient` comment '诊断'"); \DB::statement("ALTER TABLE `diagnosis` comment '诊断'");
} }
/** /**
......
...@@ -32,7 +32,7 @@ public function up() ...@@ -32,7 +32,7 @@ public function up()
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
}); });
\DB::statement("ALTER TABLE `doctor` comment '药店'"); \DB::statement("ALTER TABLE `pharmacy` comment '药店'");
} }
/** /**
......
...@@ -27,7 +27,7 @@ public function up() ...@@ -27,7 +27,7 @@ public function up()
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
}); });
\DB::statement("ALTER TABLE `doctor` comment '药师'"); \DB::statement("ALTER TABLE `pharmacist` 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