D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
www
/
database
/
migrations
/
Filename :
2024_09_25_094656_add_bank_detials_in_withdrawals_table.php
back
Copy
<?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('withdrawals', function (Blueprint $table) { $table->longText('bank_details')->nullable()->after('email'); $table->string('email')->nullable()->change(); }); } };