From 3000ede80cad0f6a658a1c628515abe38113e7a4 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Wed, 26 Nov 2025 20:42:25 +0800 Subject: [PATCH] update --- .../2025_11_26_100100_add_count_fields_to_calendars_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2025_11_26_100100_add_count_fields_to_calendars_table.php b/database/migrations/2025_11_26_100100_add_count_fields_to_calendars_table.php index fe1df14..9a537ab 100644 --- a/database/migrations/2025_11_26_100100_add_count_fields_to_calendars_table.php +++ b/database/migrations/2025_11_26_100100_add_count_fields_to_calendars_table.php @@ -13,8 +13,8 @@ return new class extends Migration { public function up() { Schema::table('calendars', function (Blueprint $table) { - $table->tinyInteger('is_count_days')->default(1)->comment('是否统计天数 0否 1是'); - $table->tinyInteger('is_count_people')->default(1)->comment('是否统计人数 0否 1是'); + $table->tinyInteger('is_count_days')->nullable()->comment('是否统计天数 0否 1是'); + $table->tinyInteger('is_count_people')->nullable()->comment('是否统计人数 0否 1是'); }); }