- 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.
This commit is contained in:
@@ -26,7 +26,7 @@ return new class extends Migration
|
||||
$table->boolean('photo_upload_enabled')->default(true);
|
||||
$table->boolean('task_checklist_enabled')->default(true);
|
||||
$table->string('default_locale', 5)->default('de');
|
||||
$table->enum('status', ['draft', 'active', 'archived'])->default('draft'); // From add_status_to_events
|
||||
$table->enum('status', ['draft', 'published', 'archived'])->default('draft'); // From add_status_to_events
|
||||
$table->timestamps();
|
||||
$table->index(['tenant_id', 'date', 'is_active']);
|
||||
$table->foreign('event_type_id')->references('id')->on('event_types')->onDelete('restrict');
|
||||
@@ -34,7 +34,7 @@ return new class extends Migration
|
||||
} else {
|
||||
if (!Schema::hasColumn('events', 'status')) {
|
||||
Schema::table('events', function (Blueprint $table) {
|
||||
$table->enum('status', ['draft', 'active', 'archived'])->default('draft')->after('is_active');
|
||||
$table->enum('status', ['draft', 'published', 'archived'])->default('draft')->after('is_active');
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -165,4 +165,4 @@ return new class extends Migration
|
||||
Schema::dropIfExists('events');
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user