🔥 Remove unused tests, update factories, and introduce recurrence features

- **Removed:** Unused feature and component tests to clean up the codebase.
- **Added:** `RecurrenceType` enum for handling event recurrence modes.
- **Introduced:** City, Country, and Meetup factories for test data generation.
- **Implemented:** Migration to support recurring event fields in `meetup_events` table.
- **Enhanced:** Livewire meetup events creation with recurrence validation and preview logic.
- **Updated:** PHPUnit test suite configuration and composer dependencies for `pestphp/pest@v4.3`.
- **Refined:** SEO configuration (`favicon`) to standardize icon format.
This commit is contained in:
HolgerHatGarKeineNode
2026-01-17 21:00:46 +01:00
parent 74263a4581
commit 7f92e77684
28 changed files with 632 additions and 473 deletions

View File

@@ -0,0 +1,38 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('meetup_events', function (Blueprint $table) {
$table->string('recurrence_type')->nullable()->after('start');
$table->string('recurrence_day_of_week')->nullable()->after('recurrence_type');
$table->string('recurrence_day_position')->nullable()->after('recurrence_day_of_week');
$table->unsignedInteger('recurrence_interval')->default(1)->after('recurrence_day_position');
$table->dateTime('recurrence_end_date')->nullable()->after('recurrence_interval');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('meetup_events', function (Blueprint $table) {
$table->dropColumn([
'recurrence_type',
'recurrence_day_of_week',
'recurrence_day_position',
'recurrence_interval',
'recurrence_end_date',
]);
});
}
};