Add join token TTL policy and Live Show link sharing
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-05 21:11:36 +01:00
parent 3f3061a899
commit 88012c35bd
18 changed files with 636 additions and 9 deletions

View File

@@ -0,0 +1,30 @@
<?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('guest_policy_settings', function (Blueprint $table) {
$table->unsignedInteger('join_token_ttl_hours')
->default(168)
->after('join_token_download_decay_minutes');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('guest_policy_settings', function (Blueprint $table) {
$table->dropColumn('join_token_ttl_hours');
});
}
};