Add force to static pages migration seeder

This commit is contained in:
Vincent BRIDIER 2024-01-10 10:02:19 +01:00
parent 0b4094c7a2
commit e76d0a7dea
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -30,7 +30,8 @@ return new class extends Migration
$table->timestamps();
});
Artisan::call('db:seed', [
'class' => 'StaticPageSeeder'
'--class' => 'StaticPageSeeder',
'--force' => true
]);
}