Skip to content

Commit

Permalink
Fixed seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
PavlosIsaris committed Oct 7, 2024
1 parent fe72f69 commit 20320cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/seeders/AirQualityProjectSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public function run(): void {
if (isset($problem['solutions'])) {
foreach ($problem['solutions'] as $solution) {
if (app()->environment() !== 'testing') {
echo "\nAdding Solution: " . $solution['title'] . ' for Problem: ' . $problem['slug'] . "\n";
echo "\nAdding Solution: " . $solution['slug'] . ' for Problem: ' . $problem['slug'] . "\n";
}
$solutionRecord = CrowdSourcingProjectProblemSolution::updateOrCreate(
['problem_id' => $problemRecord->id, 'slug' => $solution['slug']], [
Expand Down

0 comments on commit 20320cc

Please sign in to comment.