diff --git a/database/migrations/2025_08_27_130530_alert_course_types_table.php b/database/migrations/2025_08_27_130530_alert_course_types_table.php index b3a9252..0c78538 100644 --- a/database/migrations/2025_08_27_130530_alert_course_types_table.php +++ b/database/migrations/2025_08_27_130530_alert_course_types_table.php @@ -18,9 +18,9 @@ return new class extends Migration $table->string('color')->nullable()->comment('颜色'); $table->tinyInteger('is_arrange')->nullable()->comment('是否排课-0否1是'); $table->tinyInteger('is_fee')->nullable()->comment('是否缴费-0否1是'); - $table->boolean('show_txl')->default(1)->comment('是否显示通讯录-0否1是 默认1'); - $table->boolean('show_mobile')->default(1)->comment('是否显示手机号-0否1是 默认1'); - $table->boolean('auto_schoolmate')->default(false)->comment('已审核学员是否自动进入校友库0否1是'); + $table->boolean('show_txl')->nullable()->comment('是否显示通讯录-0否1是 默认1'); + $table->boolean('show_mobile')->nullable()->comment('是否显示手机号-0否1是 默认1'); + $table->boolean('auto_schoolmate')->nullable()->comment('已审核学员是否自动进入校友库0否1是'); }); }