increments('id'); $table->integer('reporting_to')->nullable(); $table->string('name', 100)->nullable(); $table->string('firstname', 225)->nullable(); $table->string('surname', 255)->nullable(); $table->string('email', 100)->nullable(); $table->string('user_group', 225)->nullable(); $table->integer('office_id')->nullable(); $table->string('title', 255)->nullable(); $table->string('wordpress_user', 100)->nullable(); $table->string('active', 10)->nullable(); $table->string('print_profile', 10)->nullable(); $table->text('profile_pic')->nullable(); $table->text('town_knowledge')->nullable(); $table->text('knowledge')->nullable(); $table->text('ships')->nullable(); $table->text('statement')->nullable(); $table->string('password', 100)->nullable(); $table->string('api_token', 60)->nullable(); $table->string('remember_token', 255)->nullable(); $table->enum('sex', ['','Male','Female'])->nullable(); $table->date('dob')->nullable(); $table->string('designation', 50)->nullable(); $table->string('mobile', 100)->nullable(); $table->string('phone', 100)->nullable(); $table->string('address', 255)->nullable(); $table->string('street', 100)->nullable(); $table->string('city', 100)->nullable(); $table->string('district', 100)->nullable(); $table->string('state', 100)->nullable(); $table->text('country')->nullable(); $table->string('photo', 500)->nullable(); $table->string('web', 100)->nullable(); $table->longText('permissions')->nullable(); $table->enum('status', ['New','Active','Suspended','Locked'])->nullable(); $table->enum('email_verified_at', ['No','Yes'])->nullable(); $table->dateTime('last_login')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->string('upload_folder', 100)->nullable(); $table->integer('team_id')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('staff'); } }