supply chain coding

This commit is contained in:
2020-07-10 03:44:33 -05:00
parent cc04244df8
commit 2d2395a97d
4 changed files with 107 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ class CreateNewContractsTable extends Migration
if(!Schema::hasTable('supply_chain_bids')) {
Schema::create('supply_chain_bids', function(Blueprint $table) {
$table->increments('id')->unique();
$table->increments('bid_id')->unique();
$table->unsignedBigInteger('contract_id');
$table->decimal('bid_amount', 20, 2)->default(0.00);
$table->unsignedBigInteger('entity_id');