D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
dentostock.com
/
database
/
migrations
/
Filename :
2023_08_07_170601_create_offline_payments_table.php
back
Copy
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOfflinePaymentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('offline_payments', function (Blueprint $table) { $table->id(); $table->integer('order_id'); $table->json('payment_info')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('offline_payments'); } }