This commit is contained in:
salam committed 2025-11-05 14:07:28 +01:00
1 parent 1fbd9da376
commit 3791379c41
16 files changed
+108 -86

No files matched your search

@@ -18,13 +18,15 @@ return new class extends Migration
$table->string('name')->nullable();
$table->string('name2')->nullable();
$table->string('part')->nullable();
$table->boolean('ueberschrift_anzeigen')->default(0)->nullable();
$table->boolean('ueberschrift_verbergen')->default(0)->nullable();
$table->integer('inhaltselement_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable();
$table->integer('seite')->default(0);
$table->integer('neue_seite')->default(0);
$table->integer('seitenzahl_anzeige')->default(0);
$table->boolean('no_edit')->default(0)->nullable();
$table->string('hilfe_text')->nullable();
$table->string('hilfe_bild')->nullable();
$table->timestamps();
});
}
@@ -19,7 +19,7 @@ return new class extends Migration
$table->string('name')->nullable();
$table->string('name2')->nullable();
$table->string('part')->nullable();
$table->boolean('ueberschrift_anzeigen')->default(0)->nullable();
$table->boolean('ueberschrift_verbergen')->default(0)->nullable();
$table->integer('inhaltselement_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable();
$table->integer('konto_textblock_id')->default(0)->nullable();
@@ -12,7 +12,7 @@ class InhaltsverzeichnisSeeder extends Seeder
*/
public function run(): void
{
$sql = "INSERT INTO `inhaltsverzeichnis` (`id`, `name`, `name2`, `part`, `ueberschrift_anzeigen`, `inhaltselement_id`, `textblock_id`, `sort`, `ordnungszahl`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `created_at`, `updated_at`)
$sql = "INSERT INTO `inhaltsverzeichnis` (`id`, `name`, `name2`, `part`, `ueberschrift_verbergen`, `inhaltselement_id`, `textblock_id`, `sort`, `ordnungszahl`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `created_at`, `updated_at`)
VALUES
('1', 'DECKBLATT', NULL, 'standard', '0', '9', '11', '1', '0', '0', '1', '0', '0', NULL, '2025-10-19 08:13:53'),
('2', 'INHALTSVERZEICHNIS', NULL, 'standard', '1', '1', '0', '3', '0', '0', '1', '0', '0', NULL, '2025-10-19 08:13:53'),
+1 -1
View File
@@ -673,7 +673,7 @@ class TestProjektSeeder extends Seeder
DB::unprepared($sql);
$sql = "INSERT INTO `projekt_inhaltsverzeichnis` (`id`, `projekte_id`, `sort`, `ordnungszahl`, `name`, `name2`, `part`, `ueberschrift_anzeigen`, `inhaltselement_id`, `konto_textblock_id`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `textblock_name`, `textblock`, `textblock2`, `created_at`, `updated_at`)
$sql = "INSERT INTO `projekt_inhaltsverzeichnis` (`id`, `projekte_id`, `sort`, `ordnungszahl`, `name`, `name2`, `part`, `ueberschrift_verbergen`, `inhaltselement_id`, `konto_textblock_id`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `textblock_name`, `textblock`, `textblock2`, `created_at`, `updated_at`)
VALUES
('1', '1', '1', '0', 'GUTACHTEN - VERTEILUNGSSCHLÜSSEL', NULL, 'standard', '0', '9', '0', '0', '1', '0', '0', NULL, '<p>P ###GUTACHTEN_P_NR### WEG 2002</p><p>EZ ###EINLAGEZAHL### des GB ###GRUNDBUCH###</p>', NULL, '2025-10-27 08:18:22', '2025-10-27 08:18:22'),
('2', '1', '3', '0', 'INHALTSVERZEICHNIS', NULL, 'standard', '1', '1', '0', '0', '1', '0', '0', NULL, '', NULL, '2025-10-27 08:18:22', '2025-10-27 08:18:22'),