increments('id'); $table->string('name', 255)->nullable(); $table->string('slug', 255)->nullable(); $table->decimal('min_investment', 10,2)->nullable(); $table->decimal('max_investment', 10,2)->nullable(); $table->tinyInteger('interest_after_matured')->nullable(); $table->tinyInteger('release_deposit')->nullable(); $table->double('profit', 50)->nullable(); $table->integer('investment_duration')->nullable(); $table->string('investment_duration_type', 255)->nullable(); $table->integer('week_type')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('loantypes'); } }