Google2Fa ready to upload

This commit is contained in:
Kevin Adametz 2021-11-09 18:38:44 +01:00
parent e3495be8b8
commit 73e38a006e
127 changed files with 2637 additions and 589 deletions

View file

@ -18,6 +18,8 @@ class CreateUsersTable extends Migration
$table->string('name');
$table->string('email')->unique();
$table->string('password');
$table->string('secret_key', 50);
$table->boolean('google2fa')->default(false);
$table->boolean('confirmed')->default(false);
$table->string('confirmation_code', 30)->index()->nullable();

View file

@ -26,8 +26,9 @@ class CreateParticipantTable extends Migration
$table->bigInteger('participant_salutation_id')->nullable();
$table->tinyInteger('participant_child')->nullable()->default(0);
$table->tinyInteger('participant_pass')->nullable()->default(0);
$table->tinyInteger('participant_storno')->nullable()->default(0);
$table->unsignedInteger('nationality_id')->nullable();
$table->index('booking_id', 'participant_booking_id_idx');
$table->index('participant_salutation_id', 'participant_participant_salutation_id_idx');