This commit is contained in:
carodej
2020-07-14 10:34:42 +02:00
parent 2ae60003d6
commit c9d300769c
55 changed files with 1747 additions and 481 deletions

View File

@@ -92,7 +92,7 @@ class ContentSeeder extends Seeder
]);
$columns->each(function ($content) {
Setting::create($content);
Setting::updateOrCreate($content);
});
}
}

View File

@@ -34,7 +34,7 @@ class PageSeeder extends Seeder
]);
$columns->each(function ($page) {
Page::create($page);
Page::updateOrCreate($page);
});
}
}