PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Gateway
/
Database
/
Migrations
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGatewaysTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('gateways', function (Blueprint $table) { $table->id(); $table->string('alias')->unique(); $table->string('name'); $table->boolean('sandbox')->comment('1 - Sandbox & 0 - Production'); $table->text('data'); $table->text('instruction')->nullable(); $table->string('image')->nullable(); $table->boolean('status')->default(0); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('gateways'); } }
[-] 2022_02_06_031637_create_gateways_table.php
[edit]
[+]
..
[-] 2022_02_09_045059_create_payment_log_table.php
[edit]
[-] 2022_02_09_045060_add_foreign_keys_to_payment_log_table.php
[edit]