feat: harden tenant settings and import pipeline

This commit is contained in:
2025-09-25 11:50:18 +02:00
parent b22d91ed32
commit 9248d7a3f5
29 changed files with 577 additions and 293 deletions

View File

@@ -3,6 +3,7 @@
namespace Database\Factories;
use App\Models\Event;
use App\Models\EventType;
use App\Models\Tenant;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
@@ -18,12 +19,14 @@ class EventFactory extends Factory
return [
'tenant_id' => Tenant::factory(),
'event_type_id' => EventType::factory(),
'name' => $name,
'slug' => $slug,
'description' => $this->faker->paragraph(),
'date' => $this->faker->dateTimeBetween('now', '+6 months'),
'location' => $this->faker->address(),
'max_participants' => $this->faker->numberBetween(50, 500),
'settings' => null,
'is_active' => true,
'join_link_enabled' => true,
'photo_upload_enabled' => true,
@@ -60,4 +63,5 @@ class EventFactory extends Factory
'date' => $this->faker->dateTimeBetween('now', '+1 month'),
]);
}
}
}