agb registrierung wip

This commit is contained in:
salam committed 2025-09-21 08:28:49 +02:00
1 parent b5d090cf5e
commit 04e2797667
13 files changed
+343 -68

No files matched your search

@@ -18,11 +18,11 @@ return new class extends Migration
$table->string('first_name');
$table->string('last_name');
$table->string('company');
$table->string('kontoemail')->nullable();
$table->string('address')->nullable();
$table->string('place')->nullable();
$table->string('location')->nullable();
$table->string('code')->nullable();
$table->string('country')->nullable();
$table->string('konto-email')->nullable();
$table->string('phone')->nullable();
$table->string('uid_number')->nullable();
$table->timestamps();
@@ -16,9 +16,12 @@ return new class extends Migration
$table->foreignId('konto_id')->constrained()->cascadeOnDelete()->default(0);
$table->string('gender')->nullable();
$table->string('name');
$table->string('first_name');
$table->string('last_name');
$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();
@@ -1,18 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->string('role')->nullable()->after('password');
});
}
};
@@ -17,7 +17,7 @@ return new class extends Migration
$table->string('name')->nullable();
$table->string('logo')->nullable();
$table->string('address')->nullable();
$table->string('place')->nullable();
$table->string('location')->nullable();
$table->string('code')->nullable();
$table->string('phone')->nullable();
$table->timestamp('deleted_at')->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`, `place`, `code`, `phone`, `uid_number`)
$sql = "INSERT INTO `kontos` (`id`, `title`, `gender`, `first_name`, `last_name`, `company`, `address`, `location`, `code`, `phone`, `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');