increments('id'); $table->integer('number')->comment('编号'); $table->string('name')->comment('名称'); $table->string('address')->comment('位置'); $table->string('poi_name')->comment('POI名称'); $table->string('poi_icon')->comment('POI图标'); $table->string('poi_link_url')->comment('POI跳转链接'); $table->string('poi_x_coord')->comment('POIY坐标'); $table->string('poi_y_coord')->comment('POIX坐标'); $table->json('serve_people_facility')->comment('服务设施'); $table->integer('open_status')->comment('开放状态'); $table->integer('create_id')->comment('创建者ID'); $table->integer('update_id')->comment('更新者ID'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('rest_rooms'); } }