diff --git a/database/migrations/2026_03_10_105432_add_data_by_default_to_static_page_our_farms.php b/database/migrations/2026_03_10_105432_add_data_by_default_to_static_page_our_farms.php index 4e7e9fa7..466aace5 100644 --- a/database/migrations/2026_03_10_105432_add_data_by_default_to_static_page_our_farms.php +++ b/database/migrations/2026_03_10_105432_add_data_by_default_to_static_page_our_farms.php @@ -107,8 +107,9 @@ return new class extends Migration $staticPage->data = $data; $staticPage->saveQuietly(); } else { - StaticPage::createQuietly([ + StaticPage::query()->forceCreateQuietly([ 'type' => StaticPageType::ourFarms->value(), + 'slug' => 'les-elevages', 'seo_title' => sprintf('Seo title pour la page %s', StaticPageType::ourFarms->label()), 'seo_description' => sprintf('Seo description pour la page %s', StaticPageType::ourFarms->label()), 'title' => StaticPageType::ourFarms->label(),