id(); $table->bigInteger('province')->default(0)->comment('省份'); $table->bigInteger('city')->default(0)->comment('市'); $table->bigInteger('area')->default(0)->comment('县/区'); $table->bigInteger('street')->default(0)->comment('乡级'); $table->date('release_time')->comment('发布时间'); $table->string('address', 300)->nullable()->comment('地址'); $table->tinyInteger('risk')->default(0)->comment('风险等级'); $table->string('body', 500)->comment('描述'); $table->bigInteger('policy_id')->default(0)->comment('政策id'); $table->bigInteger('admin_id')->default(0); $table->tinyInteger('status')->default(1); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('policy_risks'); } }