CasperSecurity
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBankDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bank_details', function (Blueprint $table) {
$table->id();
$table->string('contact_person');
$table->string('contact_person_ph_no')->nullable();
$table->string('bank_ac_type');
$table->string('bank_ac_no');
$table->string('bank_ifsc');
$table->string('bank_code')->nullable();
$table->string('bank_name')->nullable();
$table->string('bank_branch')->nullable();
$table->string('bank_contact')->nullable();
$table->string('bank_address')->nullable();
$table->string('bank_city')->nullable();
$table->string('bank_district')->nullable();
$table->string('bank_state')->nullable();
$table->string('bank_micr')->nullable();
$table->text('bank_api')->nullable();
$table->tinyInteger('status')->default('1');
$table->string('created_by')->nullable();
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('bank_details');
}
}