increments('id'); $table->string('ip','32')->comment('ip'); $table->integer('user_id')->comment('操作人'); $table->timestamp('created_at'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('ban_ips'); } }