D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
shaghela.online
/
database
/
migrations
/
Filename :
2022_03_30_043359_create_wallet_histories_table.php
back
Copy
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateWalletHistoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('wallet_histories', function (Blueprint $table) { $table->id(); $table->bigInteger('user_id')->nullable(); $table->timestamp('datetime')->nullable(); $table->string('activity_type')->nullable(); $table->text('activity_message')->nullable(); $table->text('activity_data')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('wallet_histories'); } }