Adds index

This commit is contained in:
Sam Georges 2014-09-13 18:16:16 +10:00
parent 69fb8e0918
commit 8dcef0ebfb
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class DbBackendUsers extends Migration
$table->increments('id');
$table->string('first_name')->nullable();
$table->string('last_name')->nullable();
$table->string('login')->unique();
$table->string('login')->unique()->index();
$table->string('email')->unique();
$table->string('password');
$table->string('activation_code')->nullable()->index();