register form

This commit is contained in:
salam committed 2025-09-20 16:26:01 +02:00
1 parent 390a98e961
commit b5d090cf5e
18 files changed
+349 -46

No files matched your search

@@ -21,6 +21,8 @@ return new class extends Migration
$table->string('address')->nullable();
$table->string('place')->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();
@@ -0,0 +1,18 @@
<?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');
});
}
};
+1 -1
View File
@@ -15,7 +15,7 @@ class KontoSeeder extends Seeder
$sql = "INSERT INTO `kontos` (`id`, `title`, `gender`, `first_name`, `last_name`, `company`, `address`, `place`, `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 KunzUnterlugauer','Seestraße 1','Innbsruck', '6020', '0512 457328', 'ATU 234578');
('2', 'Architekt', 'Herr','Sepp','Unterlugauer','Architekt Unterlugauer','Seestraße 1','Innbsruck', '6020', '0512 457328', 'ATU 234578');
";
DB::unprepared($sql);
}