registrierung wip

This commit is contained in:
salam committed 2025-09-21 18:10:18 +02:00
1 parent 24871d41a9
commit 09bcc5e13e
9 files changed
+248 -181

No files matched your search

@@ -13,18 +13,19 @@ return new class extends Migration
{
Schema::create('kontos', function (Blueprint $table) {
$table->id();
$table->string('title')->nullable();
$table->string('gender')->nullable();
$table->string('first_name');
$table->string('last_name');
$table->string('company');
$table->string('kontoemail')->nullable();
$table->string('address')->nullable();
$table->string('location')->nullable();
$table->string('code')->nullable();
$table->string('country')->nullable();
$table->string('phone')->nullable();
$table->string('uid_number')->nullable();
$table->string('konto_title')->nullable();
$table->string('konto_gender')->nullable();
$table->string('konto_first_name');
$table->string('konto_last_name');
$table->string('konto_company');
$table->string('konto_email')->nullable();
$table->string('konto_address')->nullable();
$table->string('konto_location')->nullable();
$table->string('konto_plz')->nullable();
$table->string('konto_country')->nullable();
$table->string('konto_phone')->nullable();
$table->string('konto_uid_number')->nullable();
$table->boolean('konto_agb_akzeptiert')->default(false);
$table->timestamps();
});
}
@@ -19,8 +19,6 @@ return new class extends Migration
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->string('role');
$table->boolean('super_admin')->default(0);
$table->text('app_authentication_secret')->nullable();
$table->text('app_authentication_recovery_codes')->nullable();
+1 -1
View File
@@ -12,7 +12,7 @@ class KontoSeeder extends Seeder
*/
public function run(): void
{
$sql = "INSERT INTO `kontos` (`id`, `title`, `gender`, `first_name`, `last_name`, `company`, `address`, `location`, `code`, `phone`, `uid_number`)
$sql = "INSERT INTO `kontos` (`id`, `konto_title`, `konto_gender`, `konto_first_name`, `konto_last_name`, `konto_company`, `konto_address`, `konto_location`, `konto_plz`, `konto_phone`, `konto_uid_number`)
VALUES
('1', 'Architekt', 'Herr','Bruno','Kunz','Architekt Kunz','Pradlerstraße 11','Innbsruck', '6020', '0512 457328', 'ATU 234578'),
('2', 'Architekt', 'Herr','Sepp','Unterlugauer','Architekt Unterlugauer','Seestraße 1','Innbsruck', '6020', '0512 457328', 'ATU 234578');