This commit is contained in:
2025-10-22 20:08:22 +05:00
commit 736e3bef18
2573 changed files with 120385 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?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('auth_events', function (Blueprint $table) {
$table->id();
$table->string('name')->index();
$table->string('request_method')->index();
$table->string('ip')->nullable()->index();
$table->string('user_agent')->nullable()->index();
$table->string('target_url')->nullable()->index();
$table->json('options')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('auth_events');
}
};