Fix Dutch model table names and seeder status values

- Add explicit $table property to all Eloquent models with Dutch names
- Fix pivot table names in belongsToMany relationships
- Fix seeder: use valid enum values for afhankelijkheden status

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
znetsixe
2026-04-01 14:38:51 +02:00
parent d03fe15542
commit 9dcbeeccc7
19 changed files with 42 additions and 13 deletions

View File

@@ -491,7 +491,7 @@ class DatabaseSeeder extends Seeder
'afhankelijk_van_project_id' => $p1->id,
'type' => 'data',
'beschrijving' => 'Het AI-model heeft real-time sensordata nodig uit het LoRaWAN netwerk als input feature.',
'status' => 'actief',
'status' => 'open',
]);
// Digitale Tweeling is afhankelijk van AI Waterstandsmodel
@@ -500,7 +500,7 @@ class DatabaseSeeder extends Seeder
'afhankelijk_van_project_id' => $p8->id,
'type' => 'technisch',
'beschrijving' => 'De digitale tweeling integreert de voorspellingsmodule van het AI waterstandsmodel.',
'status' => 'actief',
'status' => 'open',
]);
// Predictieve Gemaalbesturing is afhankelijk van AI Waterstandsmodel
@@ -509,7 +509,7 @@ class DatabaseSeeder extends Seeder
'afhankelijk_van_project_id' => $p8->id,
'type' => 'technisch',
'beschrijving' => 'De predictieve besturing gebruikt de 48-uurs waterstandsvoorspellingen als stuurinput.',
'status' => 'actief',
'status' => 'open',
]);
// Remote Monitoring Waterkeringen is afhankelijk van LoRaWAN Sensornetwerk
@@ -518,7 +518,7 @@ class DatabaseSeeder extends Seeder
'afhankelijk_van_project_id' => $p1->id,
'type' => 'infrastructuur',
'beschrijving' => 'Het monitoring-project maakt gebruik van de LoRaWAN-infrastructuur voor datatransport.',
'status' => 'gepland',
'status' => 'open',
]);
}