increments('id'); $table->string('ip', 64)->default(''); $table->dateTime('added')->nullable(); $table->enum('banned', ['yes', 'no'])->default('no'); $table->unsignedSmallInteger('attempts')->default(0); $table->enum('type', ['login', 'recover'])->default('login'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('loginattempts'); } }