fixed event join token handling in the event admin. created new seeders with new tenants and package purchases. added new playwright test scenarios.

This commit is contained in:
Codex Agent
2025-10-26 14:44:47 +01:00
parent 6290a3a448
commit ecf5a23b28
59 changed files with 3900 additions and 691 deletions

View File

@@ -0,0 +1,40 @@
<?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('event_packages', function (Blueprint $table) {
if (! Schema::hasColumn('event_packages', 'gallery_expires_at')) {
$table->timestamp('gallery_expires_at')->nullable();
}
if (! Schema::hasColumn('event_packages', 'used_guests')) {
$table->integer('used_guests')->default(0);
}
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('event_packages', function (Blueprint $table) {
if (Schema::hasColumn('event_packages', 'gallery_expires_at')) {
$table->dropColumn('gallery_expires_at');
}
if (Schema::hasColumn('event_packages', 'used_guests')) {
$table->dropColumn('used_guests');
}
});
}
};