konto optionen

This commit is contained in:
salam committed 2025-09-22 10:02:08 +02:00
1 parent 47edd31030
commit e5ea920579
25 files changed
+309 -178

No files matched your search

@@ -25,6 +25,7 @@ return new class extends Migration
$table->string('konto_country')->nullable();
$table->string('konto_phone')->nullable();
$table->string('konto_uid_number')->nullable();
$table->string('konto_option_id')->default(1);
$table->boolean('konto_agb_akzeptiert')->default(false);
$table->timestamps();
});
@@ -11,12 +11,13 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('kontooptionens', function (Blueprint $table) {
Schema::create('konto_options', 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->timestamps();
});
}
@@ -26,6 +27,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('kontooptionens');
Schema::dropIfExists('konto_options');
}
};
@@ -0,0 +1,29 @@
<?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('payment_plans', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->string('description')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('payment_plans');
}
};