This commit is contained in:
Sam Georges 2014-11-01 18:15:45 +11:00
parent 22daf299f0
commit ad26acef29

View File

@ -10,8 +10,8 @@ class DbBackendUserThrottle extends Migration
Schema::create('backend_user_throttle', function ($table) {
$table->engine = 'InnoDB';
$table->increments('id');
$table->integer('user_id')->unsigned();
$table->string('ip_address')->nullable();
$table->integer('user_id')->unsigned()->nullable()->index();
$table->string('ip_address')->nullable()->index();
$table->integer('attempts')->default(0);
$table->timestamp('last_attempt_at')->nullable();
$table->boolean('is_suspended')->default(0);