diff --git a/database/migrations/2025_06_06_135038_alert_appointments_table.php b/database/migrations/2025_06_06_135038_alert_appointments_table.php new file mode 100644 index 0000000..5b2f002 --- /dev/null +++ b/database/migrations/2025_06_06_135038_alert_appointments_table.php @@ -0,0 +1,33 @@ +boolean('car_status')->nullable()->comment('车辆预约状态'); + $table->boolean('meet_status')->nullable()->comment('会议室预约状态'); + $table->boolean('door_status')->nullable()->comment('门禁预约状态'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('appointments', function (Blueprint $table) { + // + }); + } +};