D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
euphoriahub.store
/
database
/
migrations
/
Filename :
2021_09_23_003059_add_gst_to_sellers_table.php
back
Copy
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddGstToSellersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('sellers', function (Blueprint $table) { $table->string('gst')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('sellers', function (Blueprint $table) { $table->dropColumn('gst'); }); } }