This commit is contained in:
salam committed 2026-07-04 18:15:17 +02:00
1 parent eb598ae0ce
commit 16c0aa24fe
14 files changed
+307 -174

No files matched your search

@@ -16,6 +16,7 @@ return new class extends Migration
$table->foreignId('konto_id')->constrained();
$table->foreignId('auftraggeber_id')->constrained();
$table->foreignId('gutachter_id')->constrained();
$table->integer('cloned_from_id')->default(0);
$table->string('interner_name');
$table->string('offizieller_name')->nullable();
$table->string('ort')->nullable();
@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('projekt_objektes', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('projekte_cloned_from_id')->default(0);
$table->integer('orientierung_id')->nullable()->default(0);
$table->boolean('nicht_in_orientierung')->default(0);
$table->string('top_nummer')->nullable();
@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('projekt_objekte_im_details', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('projekte_objekte_cloned_from_id')->default(0);
$table->foreignId('projekt_objekte_id')->constrained()->cascadeOnDelete();
$table->foreignId('projekt_methode_id');
$table->string('geschoss')->nullable();