1
0
Fork 0
develop
李静 2023-05-16 11:59:00 +08:00
parent 5b69d6758a
commit d4f90262e8
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ return new class extends Migration
*/
public function up()
{
Schema::create('soil_soil_reports', function (Blueprint $table) {
Schema::create('soil_daily_reports', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('device_id')->comment('设备ID');
$table->decimal('temperature', 8, 2)->nullable()->comment('温度(单位: ℃)');
@ -37,6 +37,6 @@ return new class extends Migration
*/
public function down()
{
Schema::dropIfExists('soil_soil_reports');
Schema::dropIfExists('soil_daily_reports');
}
};