Change join token expiry columns to datetime
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
tests / ui (push) Waiting to run

This commit is contained in:
Codex Agent
2026-02-04 16:44:13 +01:00
parent e911c2bd16
commit c43327af74

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('event_join_tokens', function (Blueprint $table) {
$table->dateTime('expires_at')->nullable()->change();
$table->dateTime('revoked_at')->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('event_join_tokens', function (Blueprint $table) {
$table->timestamp('expires_at')->nullable()->change();
$table->timestamp('revoked_at')->nullable()->change();
});
}
};