feat: ✨ add migration to seed sticky elements

This commit is contained in:
Corentin Huet 2026-03-25 15:13:06 +01:00
parent 5e9e542d87
commit 906e81cda7

View file

@ -0,0 +1,26 @@
<?php
use Database\Seeders\Mandatory\StickySeeder;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Artisan;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Artisan::call('db:seed', [
'class' => StickySeeder::class
]);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};