Registierung Korrekturen

This commit is contained in:
Kevin Adametz 2020-04-29 20:06:51 +02:00
parent 8e4bb0c2f6
commit d8b5206031
70 changed files with 1192 additions and 569 deletions

View file

@ -22,7 +22,6 @@ class CreateUsersTable extends Migration
$table->unsignedInteger('m_level')->nullable();
$table->unsignedInteger('m_sponsor')->nullable();
$table->boolean('confirmed')->default(false);
$table->string('confirmation_code', 30)->index()->nullable();
$table->timestamp('confirmation_date')->nullable();
@ -51,7 +50,7 @@ class CreateUsersTable extends Migration
$table->boolean('abo_options')->default(false);
$table->boolean('test_mode')->default(false);
$table->text('settings')->nullable();
$table->timestamps();
$table->softDeletes();

View file

@ -16,7 +16,7 @@ class CreateUserAccountsTable extends Migration
Schema::create('user_accounts', function (Blueprint $table) {
$table->increments('id');
$table->string('m_account')->nullable();
$table->unsignedInteger('m_account')->unique()->nullable();
$table->char('m_salutation', 2)->nullable();
$table->string('m_first_name')->nullable();
$table->string('m_last_name')->nullable();
@ -69,6 +69,7 @@ class CreateUserAccountsTable extends Migration
$table->timestamp('data_protection')->nullable();
$table->timestamp('accepted_contract')->nullable();
$table->text('notice')->nullable();
$table->timestamps();
$table->softDeletes();