Implement projects and project keys

This commit is contained in:
2026-03-25 00:44:37 +01:00
parent aeee3d2640
commit 7d4b0733b3
16 changed files with 716 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace Database\Seeders;
use App\Models\Project;
use Illuminate\Database\Seeder;
class ProjectSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
Project::factory()
->count(3)
->sequence(
['name' => 'Core Platform', 'key' => 'CORE'],
['name' => 'Authentication', 'key' => 'AUTH'],
['name' => 'Operations', 'key' => 'OPS'],
)
->create();
}
}