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 new file mode 100644 index 0000000..b3a9252 --- /dev/null +++ b/database/migrations/2025_08_27_130530_alert_course_types_table.php @@ -0,0 +1,38 @@ +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是'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('course_types', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2025_08_27_130837_alert_calendars_table.php b/database/migrations/2025_08_27_130837_alert_calendars_table.php new file mode 100644 index 0000000..7de42ea --- /dev/null +++ b/database/migrations/2025_08_27_130837_alert_calendars_table.php @@ -0,0 +1,33 @@ +string('color')->nullable()->comment('颜色'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('calendars', function (Blueprint $table) { + // + }); + } +};