D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
shaghela.online
/
database
/
migrations
/
Filename :
2024_07_12_092702_create_withdraw_money_table.php
back
Copy
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateWithdrawMoneyTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('withdraw_money', function (Blueprint $table) { $table->id(); $table->unsignedBigInteger('user_id'); $table->unsignedBigInteger('bank_id'); $table->double('amount')->nullable(); $table->timestamp('datetime')->nullable(); $table->string('payment_type')->nullable(); $table->text('transaction')->nullable(); $table->integer('withdraw_money_id')->nullable(); $table->string('status')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('withdraw_money'); } }