This commit is contained in:
salam committed 2025-09-24 16:55:55 +02:00
1 parent 11cb9b03f5
commit 5f95289079
25 files changed
+430 -129

No files matched your search

@@ -13,23 +13,21 @@ return new class extends Migration
{
Schema::create('kontos', function (Blueprint $table) {
$table->id();
$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->string('konto_option_id')->default(1);
$table->string('konto_gutachten_zahl')->default(0);
$table->timestamp('konto_gutachten_zeit')->nullable();
$table->string('konto_gutachten_abgeschlossen')->default(1);
$table->string('title')->nullable();
$table->string('gender')->nullable();
$table->string('first_name');
$table->string('last_name');
$table->string('company');
$table->string('email')->nullable();
$table->string('address')->nullable();
$table->string('country')->nullable();
$table->string('phone')->nullable();
$table->string('uid_number')->nullable();
$table->boolean('agb_akzeptiert')->default(false);
$table->string('plan_id')->default(1);
$table->string('guthaben')->default(0);
$table->timestamp('gueltig_bis')->nullable();
$table->string('abgeschlossen')->default(1);
$table->timestamps();
});
}
@@ -13,13 +13,13 @@ return new class extends Migration
{
Schema::create('gutachters', function (Blueprint $table) {
$table->id();
$table->integer('konto_id');
$table->foreignId('konto_id')->constrained();
$table->string('name')->nullable();
$table->string('logo')->nullable();
$table->string('address')->nullable();
$table->string('location')->nullable();
$table->string('code')->nullable();
$table->string('country')->nullable();
$table->string('phone')->nullable();
$table->string('email')->nullable();
$table->timestamp('deleted_at')->nullable();
$table->timestamps();
});
@@ -11,13 +11,13 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('konto_options', function (Blueprint $table) {
Schema::create('plans', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->string('description')->nullable();
$table->integer('number_user')->default(1);
$table->integer('number_gutachter')->default(1);
$table->integer('payment_plan_id')->default(1);
$table->integer('payment_id')->default(1);
$table->timestamps();
});
}
@@ -11,7 +11,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('payment_plans', function (Blueprint $table) {
Schema::create('payments', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->string('description')->nullable();
@@ -24,6 +24,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('payment_plans');
Schema::dropIfExists('payments');
}
};
@@ -0,0 +1,28 @@
<?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('titels', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('titels');
}
};
@@ -0,0 +1,28 @@
<?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('genders', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('genders');
}
};