increments('id'); $table->integer('payrec_id')->nullable(); $table->integer('invoice_id')->nullable(); $table->integer('payrecdetailable_id')->nullable(); $table->string('payrecdetailable_type', 50)->nullable(); $table->date('date')->nullable(); $table->decimal('credit', 12,3)->nullable(); $table->decimal('debit', 12,3)->nullable(); $table->text('remarks')->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('bixo_account_payrec_details'); } }