D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
shaghela.online
/
database
/
migrations
/
Filename :
2021_12_25_102810_create_payment_gateways_table.php
back
Copy
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePaymentGatewaysTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('payment_gateways', function (Blueprint $table) { $table->id(); $table->string('title', 100)->nullable(); $table->string('type', 100)->nullable(); $table->tinyInteger('status')->nullable()->default('1')->comment('1- Active , 0- InActive'); $table->tinyInteger('is_test')->nullable()->default('1')->comment('1- Yes , 0- No'); $table->text('value')->nullable()->default(null); $table->text('live_value')->nullable()->default(null); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('payment_gateways'); } }