increments('id'); $table->string('name', 100)->nullable(); $table->integer('department_id')->nullable(); $table->text('emp_no')->nullable(); $table->text('address')->nullable(); $table->string('passport_no', 50)->nullable(); $table->string('country', 50)->nullable(); $table->enum('gender', [male])->nullable(); $table->date('dob')->nullable(); $table->date('date_of_join')->nullable(); $table->double('bank_account', 50)->nullable(); $table->text('photo')->nullable(); $table->enum('status', [draft])->nullable(); $table->enum('status', [complete])->nullable(); $table->enum('verify', [verify])->nullable(); $table->enum('approve', [])->nullable(); $table->string('user_type', 50)->nullable(); $table->string('slug', 100)->nullable(); $table->integer('user_id')->nullable(); $table->string('upload_folder', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('employee_managments'); } }