Edit File: 2023_01_17_131527_create_banks_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBanksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('banks', function (Blueprint $table) { $table->id(); $table->morphs('bankable'); $table->string('bank_name'); $table->string('account_name'); $table->string('account_number'); $table->string('iban'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('banks'); } }
Back to File Manager