wip controll and repair

This commit is contained in:
salam committed 2026-07-06 07:45:01 +02:00
1 parent 4a509c6a16
commit 3dd1dad42f
19 files changed
+182 -91

No files matched your search

@@ -13,10 +13,10 @@ return new class extends Migration
{
Schema::create('projektes', function (Blueprint $table) {
$table->id();
$table->integer('cloned_from_id')->default(0)->nullable();
$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,8 @@ return new class extends Migration
Schema::create('projekt_allgemeinflaechens', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('cloned_from_id')->default(0)->nullable();
$table->boolean('added_manuel')->default(0)->nullable();
$table->string('geschoss')->nullable();
$table->string('raumart')->nullable();
$table->decimal('flaeche', 7, 2)->default(0);
@@ -14,13 +14,13 @@ 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('cloned_from_id')->default(0)->nullable();
$table->boolean('added_manuel')->default(0)->nullable();
$table->integer('orientierung_id')->nullable()->default(0);
$table->boolean('nicht_in_orientierung')->default(0);
$table->string('top_nummer')->nullable();
$table->string('type')->nullable();
$table->decimal('nutzwert', 5, 2)->default(0)->nullable();
$table->boolean('added_manuel')->default(0)->nullable();
// 10 Zusatzfelder
$table->decimal('a', 5, 2)->default(0);
$table->decimal('b', 5, 2)->default(0);
@@ -14,14 +14,14 @@ 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->integer('cloned_from_id')->default(0)->nullable();
$table->boolean('added_manuel')->default(0)->nullable();
$table->foreignId('projekt_objekte_id')->constrained()->cascadeOnDelete();
$table->foreignId('projekt_methode_id');
$table->string('geschoss')->nullable();
$table->string('raumart')->nullable();
$table->decimal('flaeche', 7, 2)->default(0);
$table->integer('nutzwert')->default(0)->nullable();
$table->boolean('added_manuel')->default(0)->nullable();
$table->timestamps();
});
}
@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('projekt_methodes', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('cloned_from_id')->default(0)->nullable();
$table->integer('methode_id')->nullable()->default(0);
$table->integer('aufstellung_id')->nullable()->default(0);
$table->string('raumart')->nullable();
@@ -14,6 +14,8 @@ return new class extends Migration
Schema::create('projekt_merkmales', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('cloned_from_id')->default(0)->nullable();
$table->boolean('added_manuel')->default(0)->nullable();
$table->string('code');
$table->string('name');
$table->timestamps();
@@ -14,6 +14,8 @@ return new class extends Migration
Schema::create('projekt_inhaltsverzeichnis', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('cloned_from_id')->default(0)->nullable();
$table->boolean('added_manuel')->default(0)->nullable();
$table->integer('inhaltselement_id')->default(0)->nullable();
$table->integer('inhaltsverzeichnis_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable();
@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('projekt_platzhalters', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('cloned_from_id')->default(0)->nullable();
$table->text('platzhalter')->nullable();
$table->text('platzhaltertext')->nullable();
$table->boolean('controll')->default(0);