Make index

This commit is contained in:
James Cole 2021-06-19 14:03:59 +02:00
parent 1f176c93d5
commit 1f2c0f634b
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -57,6 +57,7 @@ class CreateUsersTable extends Migration
$table->string('reset', 32)->nullable();
$table->tinyInteger('blocked', false, true)->default('0');
$table->string('blocked_code', 25)->nullable();
$table->unique('email');
}
);
}