OwlCyberSecurity - MANAGER
Edit File: 2022_08_15_111253_create_source_paylogs_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. * * @return void */ public function up() { Schema::create('source_paylogs', function (Blueprint $table) { $table->id(); $table->decimal('amount', 18, 2); $table->decimal('exchange_value', 18, 2)->nullable(); $table->decimal('rial_value', 18, 2)->nullable(); $table->date('log_date'); $table->string('comment', 400)->nullable(); $table->bigInteger('source_id')->unsigned()->nullable(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('source_paylogs'); } };