add total to invoice_details

This commit is contained in:
Edmond Teh
2020-09-03 11:34:46 +08:00
parent f2111add1a
commit 0ceff4ab53
@@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddTotalInvoiceDetails extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('invoice_details', function (Blueprint $table) {
$table->double('total');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('invoice_details', function (Blueprint $table) {
//
});
}
}