membership register

This commit is contained in:
Kevin Adametz 2020-02-15 14:53:32 +01:00
parent 1e8d5a31cf
commit 82e5a0c345
38 changed files with 1261 additions and 463 deletions

View file

@ -45,16 +45,31 @@ class CreateUsersTable extends Migration
$table->rememberToken();
$table->timestamp('last_login')->nullable();
$table->unsignedInteger('payment_order_id')->nullable();
$table->timestamp('payment_account')->nullable();
$table->timestamp('payment_shop')->nullable();
$table->boolean('abo_options')->default(false);
$table->timestamps();
$table->softDeletes();
$table->foreign('account_id')
->references('id')
->on('user_accounts');
$table->foreign('m_level')
->references('id')
->on('user_levels');
$table->foreign('m_sponsor')
->references('id')
->on('users');
$table->foreign('payment_order_id')
->references('id')
->on('products');
});
}