increments('id'); $table->string('name')->nullable(); $table->string('username')->nullable(); $table->string('email')->nullable(); $table->string('mobile_number')->nullable(); $table->date('dob')->nullable(); $table->enum('gender', array('male', 'female'))->nullable(); $table->string('password')->nullable(); $table->enum('user_type', ['admin', 'consumer', 'merchant'])->nullable(); $table->rememberToken(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('user'); } }