Remove meeting templates and show Events programme on Meet rooms.
Deploy Ladill Meet / deploy (push) Successful in 42s

Templates duplicated create-form settings without edit/delete flows; drop the feature and table. Conference and webinar pages render synced programme snapshots and link back to Ladill Events.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-01 22:31:03 +00:00
co-authored by Cursor
parent c108514b27
commit aed7094fed
25 changed files with 152 additions and 336 deletions
@@ -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
{
public function up(): void
{
Schema::table('meet_rooms', function (Blueprint $table) {
$table->dropConstrainedForeignId('template_id');
});
Schema::dropIfExists('meet_templates');
}
public function down(): void
{
Schema::create('meet_templates', function (Blueprint $table) {
$table->id();
$table->uuid('uuid')->unique();
$table->string('owner_ref')->index();
$table->foreignId('organization_id')->constrained('meet_organizations')->cascadeOnDelete();
$table->string('name');
$table->text('description')->nullable();
$table->unsignedSmallInteger('duration_minutes')->default(60);
$table->json('settings')->nullable();
$table->boolean('is_default')->default(false);
$table->timestamps();
$table->softDeletes();
});
Schema::table('meet_rooms', function (Blueprint $table) {
$table->foreignId('template_id')->nullable()->after('source')->constrained('meet_templates')->nullOnDelete();
});
}
};