increments('id'); $table->bigInteger('user_id')->nullable(); $table->string('amount', 255)->nullable(); $table->enum('type', ['deposit','withdrawal','commissions','release_deposit','withdraw_pending','intrest_earned','reinvest'])->nullable(); $table->text('description')->nullable(); $table->string('payment_thro', 150)->nullable(); $table->text('transaction_id')->nullable(); $table->integer('status')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('deposit_plan_histories'); } }