Andrew il y a 2 mois
Parent
révision
fdd19e3c23

+ 2
- 2
database/migrations/2025_10_30_064958_create_esg_histories_table.php Voir le fichier

@@ -13,8 +13,8 @@ return new class extends Migration
13 13
     {
14 14
         Schema::create('esg_histories', function (Blueprint $table) {
15 15
             $table->id();
16
-            $table->string('selected_year')->comment("年份");
17
-            $table->string('selected_month')->comment("月份");
16
+            $table->integer('selected_year')->comment("年份");
17
+            $table->integer('selected_month')->comment("月份");
18 18
             $table->dateTime('operate_date')->nullable()->comment("日期 暫時用不到 預留可能以後需要");
19 19
             $table->json('title')->comment("標題");
20 20
             $table->json('description')->comment("內文");