Merge remote-tracking branch 'origin/php8' into php8

This commit is contained in:
xiaomlove
2025-12-29 00:03:48 +07:00
43 changed files with 1766 additions and 840 deletions

View File

@@ -0,0 +1,26 @@
<?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
{
if (Schema::hasTable('user_passkeys')) return;
Schema::create('user_passkeys', function (Blueprint $table) {
$table->id();
$table->unsignedMediumInteger('user_id');
$table->text('AAGUID')->nullable();
$table->text('credential_id');
$table->text('public_key');
$table->unsignedInteger('counter')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('user_passkeys');
}
};