This commit is contained in:
salam committed 2025-11-14 12:33:19 +01:00
1 parent a20893d527
commit 4b79874100
31 files changed
+549 -1535

No files matched your search

@@ -18,7 +18,6 @@ return new class extends Migration
$table->boolean('nicht_in_orientierung')->default(0);
$table->string('top_nummer')->nullable();
$table->string('type')->nullable();
$table->string('geschoss')->nullable();
$table->decimal('nutzwert', 5, 2)->default(0)->nullable();
// 10 Zusatzfelder
$table->decimal('a', 5, 2)->default(0);
@@ -17,7 +17,6 @@ return new class extends Migration
$table->foreignId('projekt_objekte_id')->constrained()->cascadeOnDelete();
$table->string('geschoss')->nullable();
$table->string('raumart')->nullable();
$table->double('faktor')->nullable();
$table->double('flaeche')->nullable();
$table->integer('nutzwert')->default(0)->nullable();
$table->timestamps();
@@ -15,7 +15,6 @@ return new class extends Migration
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('methode_id')->nullable()->default(0);
$table->string('geschoss')->nullable();
$table->string('raumart')->nullable();
$table->decimal('faktor', 5, 2)->default(0);
$table->timestamps();
@@ -14,12 +14,6 @@ return new class extends Migration
Schema::create('inhaltselements', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->string('hilfe_titel')->nullable();
$table->text('hilfe_description')->nullable();
$table->string('hilfe_image')->nullable();
$table->timestamps();
});
}
+11 -10
View File
@@ -12,17 +12,18 @@ class InhaltselementSeeder extends Seeder
*/
public function run(): void
{
$sql = "INSERT INTO `inhaltselements` (`id`, `name`, `hilfe_titel`, `hilfe_description`, `hilfe_image`, `created_at`, `updated_at`)
$sql = "INSERT INTO `inhaltselements` (`id`, `name`)
VALUES
('1', 'INHALTSVERZEICHNIS', NULL, NULL, NULL, NULL, NULL),
('2', 'GRUNDBUCHSTAND', NULL, NULL, NULL, NULL, NULL),
('3', 'TABELLE § 6', NULL, NULL, NULL, NULL, NULL),
('4', 'ALLGEMEINFLÄCHEN', NULL, NULL, NULL, NULL, NULL),
('5', 'ZU UND ABSCHLÄGE', NULL, NULL, NULL, NULL, NULL),
('6', 'NUTZWERTBERECHNUNG', NULL, NULL, NULL, NULL, NULL),
('7', 'ZUSAMMENSTELLUNG', NULL, NULL, NULL, NULL, NULL),
('8', 'AUFTRAGGEBER', NULL, NULL, NULL, NULL, NULL),
('9', 'DECKBLATT', NULL, NULL, NULL, NULL, NULL);
('1', 'INHALTSVERZEICHNIS'),
('2', 'GRUNDBUCHSTAND'),
('3', 'TABELLE § 6'),
('4', 'ALLGEMEINFLÄCHEN'),
('5', 'ZU UND ABSCHLÄGE'),
('6', 'NUTZWERTBERECHNUNG'),
('7', 'ZUSAMMENSTELLUNG'),
('8', 'AUFTRAGGEBER'),
('9', 'DECKBLATT'),
('10', 'DIGITALE SIGNATUR');
";
DB::unprepared($sql);
}
File diff suppressed because it is too large. Load diff