feat: add withdraw request functionality and UI components

This commit is contained in:
2026-08-27 02:39:57 +03:30
parent aeef95339d
commit 4ce663c669
115 changed files with 4064 additions and 315 deletions
@@ -0,0 +1,24 @@
<?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
{
Schema::create('wallets', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('balance')->default(0);
$table->timestamps();
$table->foreignId('user_id')->unique()->constrained('users')->cascadeOnDelete();
});
}
public function down(): void
{
Schema::dropIfExists('wallets');
}
};