Andrew 2 个月前
父节点
当前提交
fdd19e3c23
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      database/migrations/2025_10_30_064958_create_esg_histories_table.php

+ 2
- 2
database/migrations/2025_10_30_064958_create_esg_histories_table.php 查看文件

@@ -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("內文");