increments('id'); $table->integer('user_id')->nullable(); $table->integer('plan_id')->nullable(); $table->decimal('amount', 50)->nullable(); $table->string('transaction_id', 100)->nullable(); $table->dateTime('investment_date')->nullable(); $table->dateTime('maturity_date')->nullable(); $table->enum('status', [])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('deposits'); } }