Edit file File name : 2024_02_06_175008_add_merchant_to_shop_table.php Content :<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::table('shops', function (Blueprint $table) { $table->string('merchant_id')->nullable(); $table->string('merchant_name')->nullable(); $table->string('terminal_id')->nullable(); $table->string('secure_hash')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('shops', function (Blueprint $table) { $table->dropColumn('merchant_id'); $table->dropColumn('merchant_name'); $table->dropColumn('terminal_id'); $table->dropColumn('secure_hash'); }); } }; Save