Projekt RTE
This commit is contained in:
1 parent
6c8fe94cbf
commit
63e4fdfee6
7 files changed
+46
-21
No files matched your search
@@ -21,6 +21,7 @@ class DatabaseSeeder extends Seeder
|
||||
PlansSeeder::class,
|
||||
TextblockSeeder::class,
|
||||
InhaltsverzeichnisSeeder::class,
|
||||
ProjekteSeeder::class,
|
||||
]);
|
||||
|
||||
if (app()->isLocal()) {
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ProjekteImportSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class ProjekteSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$sql = "INSERT INTO `projektes` (`id`, `konto_id`, `auftraggeber_id`, `gutachter_id`, `interner_name`, `offizieller_name`, `beschreibung`, `erstellung`, `status`, `created_at`, `updated_at`, `deleted_at`)
|
||||
VALUES
|
||||
('1', '1', '4', '25', 'P309 nht GE04-07 08 EF_Version B', 'Gerlos Eigentumswohnungen - Häuser 3-6', '<p>dasD</p>', '2025-10-10', 'entwurf', '2025-10-03 15:58:28', '2025-10-03 15:58:28', NULL);
|
||||
";
|
||||
DB::unprepared($sql);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user