diff --git a/database/migrations/2026_03_20_162930_create_parking_reservation_table.php b/database/migrations/2026_03_20_162930_create_parking_reservation_table.php index 83002cc..0497a25 100644 --- a/database/migrations/2026_03_20_162930_create_parking_reservation_table.php +++ b/database/migrations/2026_03_20_162930_create_parking_reservation_table.php @@ -23,15 +23,15 @@ return new class extends Migration $table->integer('floor_region_id')->nullable()->comment('楼层区域ID'); $table->tinyInteger('status')->default(0)->comment('状态 0待确定 1已确定 2已取消'); $table->timestamp('confirm_at')->nullable()->comment('确定时间'); - $table->string('member_id', 50)->default('')->comment('客户ID'); + $table->string('customer_id', 50)->default('')->comment('客户ID'); $table->string('member_id', 50)->default('')->comment('会员ID'); $table->integer('channel_id')->nullable()->comment('通道ID'); $table->tinyInteger('member_type')->default(0)->comment('会员类型'); $table->integer('parking_id')->nullable()->comment('停车场id'); $table->string('remark', 255)->default('')->comment('备注'); $table->date('date')->comment('预约日期'); - $table->string('varchar', 255)->default('')->comment('操作'); - $table->string('confirm_status', 255)->default('')->comment('预约状态'); + $table->string('operation', 50)->default('')->comment('操作'); + $table->string('confirm_status', 50)->default('')->comment('预约状态'); $table->timestamp('cancel_at')->nullable()->comment('取消时间'); $table->timestamp('send_at')->nullable()->comment('预约发起时间'); $table->timestamps();