Files
fotospiel-app/database/seeders/DatabaseSeeder.php
Codex Agent 64a5411fb9 - Reworked the tenant admin login page
- Updated the User model to implement Filament’s tenancy contracts
- Seeded a ready-to-use demo tenant (user, tenant, active package, purchase)
- Introduced a branded, translated 403 error page to replace the generic forbidden message for unauthorised admin hits
- Removed the public “Register” links from the marketing header
- hardened join event logic and improved error handling in the guest pwa.
2025-10-13 12:50:46 +02:00

45 lines
1.0 KiB
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
// Seed basic system data
$this->call([
LegalPagesSeeder::class,
PackageSeeder::class,
]);
// Seed core demo data for frontend previews
$this->call([
EventTypesSeeder::class,
EmotionsSeeder::class,
TasksSeeder::class,
EventTasksSeeder::class,
TaskCollectionsSeeder::class,
]);
// Seed demo and admin data
$this->call([
SuperAdminSeeder::class,
DemoTenantSeeder::class,
DemoEventSeeder::class,
OAuthClientSeeder::class,
]);
if (app()->environment(['local', 'development', 'demo'])) {
$this->call([
DemoPhotosSeeder::class,
DemoAchievementsSeeder::class,
]);
}
}
}