CasperSecurity
<?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('contras', function (Blueprint $table) {
$table->id();
$table->string('from_bank');
$table->string('to_bank');
$table->string('from_Cash_type');
$table->string('to_Cash_type');
$table->string('from_bank_id');
$table->string('to_bank_id');
$table->string('from_check');
$table->string('to_check');
$table->string('ledger_head');
$table->tinyInteger('status')->default(1);
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('contras');
}
};