increments('id'); $table->integer('lbUserId'); $table->integer('loanId'); $table->double('amount'); $table->string('txType'); $table->string('txId'); $table->timestamp('txTime'); $table->string('trasanction_id'); $table->string('paymentMethod')->nullable(); $table->string('paymentSource')->nullable(); $table->string('notes'); $table->double('principal')->default('0')->nullable(); $table->double('interest')->default('0')->nullable(); $table->tinyInteger('emiCounter')->default('0')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('lendbox_lsp_repayments'); } }