remove reg_no, order_no, tax and charge

This commit is contained in:
Edmond Teh
2020-09-02 22:22:20 +08:00
parent fef28d090d
commit 217c4aecb0
@@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class RemoveRegNoOrderNoInvoicesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('invoices', function (Blueprint $table) {
$table->dropColumn(['reg_no', 'order_no', 'tax_rate', 'billing_charge_rate']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('invoices', function (Blueprint $table) {
//
});
}
}