increments('id'); $table->integer('transaction_id')->unsigned(); $table->string('bulkpayref', 50); $table->string('beneficiary_tin_firs', 100); $table->string('beneficiary_tin_new', 50); $table->string('beneficiary_name', 100); $table->datetime('trans_date'); $table->string('contract_description'); $table->string('contract_types'); $table->decimal('amount', 20, 2); $table->string('wht_rate'); $table->decimal('wht_amount', 20, 2); $table->string('period_covered', 50); $table->timestamps(); $table->index([ 'transaction_id', 'bulkpayref' ]); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('transaction_whts'); } }