Andrew 2 месяцев назад
Родитель
Сommit
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
     {
13
     {
14
         Schema::create('esg_histories', function (Blueprint $table) {
14
         Schema::create('esg_histories', function (Blueprint $table) {
15
             $table->id();
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
             $table->dateTime('operate_date')->nullable()->comment("日期 暫時用不到 預留可能以後需要");
18
             $table->dateTime('operate_date')->nullable()->comment("日期 暫時用不到 預留可能以後需要");
19
             $table->json('title')->comment("標題");
19
             $table->json('title')->comment("標題");
20
             $table->json('description')->comment("內文");
20
             $table->json('description')->comment("內文");