One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
.trash
/
Edit File:
2026_03_05_111805_create_ledgers_table.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('ledgers', function (Blueprint $table) { $table->id(); $table->unsignedBigInteger('user_id')->nullable(); $table->unsignedBigInteger('invoice_id')->nullable(); $table->unsignedBigInteger('payment_id')->nullable(); $table->string('type'); // debit | credit $table->decimal('amount', 15, 2); $table->string('description'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('ledgers'); } };
Simpan