Files
einundzwanzig-app/database/migrations/2026_02_12_221059_create_sessions_table.php
vk 41d8b6268b UTC zu User Timezone (vibe-kanban 8b00e084)
![image.png](.vibe-images/b2a398d1-1d7d-4428-8264-9ec47f9c8235_image.png)

In den Modals der Map Points auf der Karte müssen die Uhrzeiten von UTC in die User Zeitzone umgeschrieben werden.
2026-02-12 23:15:08 +01:00

32 lines
787 B
PHP

<?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::create('sessions', function (Blueprint $table) {
$table->string('id')->primary();
$table->foreignId('user_id')->nullable()->index();
$table->string('ip_address', 45)->nullable();
$table->text('user_agent')->nullable();
$table->longText('payload');
$table->integer('last_activity')->index();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('sessions');
}
};