Edit File: 2023_11_07_121254_create_bank_accounts_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('bank_accounts', function (Blueprint $table) { $table->id(); $table->string('bank_name')->nullable(); $table->string('account_number')->nullable(); $table->string('account_name')->nullable(); $table->string('iban')->nullable(); $table->string('bank_account_image')->nullable(); $table->morphs('bankable'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('bank_accounts'); } };
Back to File Manager