mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Mapping of bank statement records with exchange and shipping portal + UI to edit the details
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateStatementTransactionsDetailsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('statement_transactions_details', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->date('date');
|
||||
$table->unsignedBigInteger('statement_transactions_id');
|
||||
$table->foreign('statement_transactions_id')->references('id')->on('statement_transactions');
|
||||
// $table->string('description');
|
||||
// $table->decimal('credit', 8, 2);
|
||||
// $table->decimal('debit', 8, 2);
|
||||
$table->string('pay_for');
|
||||
$table->string('system_references');
|
||||
// $table->string('remark_references');
|
||||
// $table->boolean('is_multiple')->default(false);
|
||||
// $table->boolean('is_matches')->default(false);
|
||||
$table->string('system_amounts');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('statement_transactions_details');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user