From 77d70be2fae57da4d0592d6d316ca86128589412 Mon Sep 17 00:00:00 2001 From: Jing Li Date: Wed, 2 Nov 2022 10:53:07 +0800 Subject: [PATCH] Update --- ...022_11_01_151242_create_rice_shrimp_industries_table.php | 6 +++--- .../2022_11_01_172739_create_rice_shrimp_flows_table.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/database/migrations/2022_11_01_151242_create_rice_shrimp_industries_table.php b/database/migrations/2022_11_01_151242_create_rice_shrimp_industries_table.php index c5d9765..d117771 100644 --- a/database/migrations/2022_11_01_151242_create_rice_shrimp_industries_table.php +++ b/database/migrations/2022_11_01_151242_create_rice_shrimp_industries_table.php @@ -17,9 +17,9 @@ return new class extends Migration $table->id(); $table->integer('year')->comment('年'); $table->tinyInteger('quarter')->comment('季度'); - $table->bigInteger('area')->comment('面积'); - $table->bigInteger('product_output')->comment('产量'); - $table->bigInteger('product_value')->comment('产值'); + $table->unsignedBigInteger('area')->comment('面积'); + $table->unsignedBigInteger('product_output')->comment('产量'); + $table->unsignedBigInteger('product_value')->comment('产值'); $table->unsignedBigInteger('created_by')->comment('创建人ID'); $table->unsignedBigInteger('updated_by')->comment('修改人ID'); $table->timestamps(); diff --git a/database/migrations/2022_11_01_172739_create_rice_shrimp_flows_table.php b/database/migrations/2022_11_01_172739_create_rice_shrimp_flows_table.php index fd99075..8e6ff45 100644 --- a/database/migrations/2022_11_01_172739_create_rice_shrimp_flows_table.php +++ b/database/migrations/2022_11_01_172739_create_rice_shrimp_flows_table.php @@ -18,7 +18,7 @@ return new class extends Migration $table->integer('year')->comment('年'); $table->tinyInteger('quarter')->comment('季度'); $table->string('area')->comment('地区'); - $table->bigInteger('sales')->comment('销量'); + $table->unsignedBigInteger('sales')->comment('销量'); $table->unsignedBigInteger('created_by')->comment('创建人ID'); $table->unsignedBigInteger('updated_by')->comment('修改人ID'); $table->timestamps();