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->time('star_time')->comment('开始时间'); $table->time('end_time')->comment('结束时间'); $table->float('price')->comment('人均价位'); $table->text('shop_intro',280)->comment('商家简介'); $table->text('shop_info',280)->comment('商家描述'); $table->json('food_type')->comment('餐饮风格'); $table->json('serve_facility')->comment('服务设施'); $table->integer('hot_status')->comment('加入热点'); $table->integer('hot_id')->comment('热点ID')->nullable(); $table->integer('self_support')->comment('是否自营'); $table->integer('business_status')->comment('营业状态'); $table->json('pics')->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('restaurants'); } }