Update
parent
5b69d6758a
commit
d4f90262e8
|
|
@ -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');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue