id(); $table->string('room_name', 10)->unique()->comment('房间标识/名称'); $table->string('room_auto', 10)->nullable()->comment('房间别名/自动属性'); $table->string('room_owner', 10)->nullable()->comment('房主'); $table->string('room_des', 250)->nullable()->comment('房间描述'); $table->string('room_top', 100)->nullable()->comment('置顶信息'); $table->string('room_title', 250)->nullable()->comment('房间标题'); $table->tinyInteger('room_keep')->default(0)->comment('是否保留'); $table->dateTime('room_time')->nullable()->comment('建立/最后时间'); $table->tinyInteger('room_tt')->default(0)->comment('相关开关'); $table->tinyInteger('room_html')->default(0)->comment('是否允许HTML'); $table->integer('room_exp')->default(0)->comment('所需经验'); $table->dateTime('build_time')->nullable()->comment('建立时间'); $table->tinyInteger('permit_level')->default(1)->comment('允许进入的最低等级'); $table->tinyInteger('door_open')->default(1)->comment('大门是否开启 (1开 0关)'); $table->integer('ooooo')->nullable()->comment('未知/扩展属性o5'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('rooms'); } };