increments('id'); $table->integer('media_id')->nullable(); $table->integer('user_id')->nullable(); $table->string('title', 255)->nullable(); $table->string('fname', 255)->nullable(); $table->string('lname', 255)->nullable(); $table->string('designation', 255)->nullable(); $table->string('phone', 255)->nullable(); $table->text('email')->nullable(); $table->string('contact_region', 255)->nullable(); $table->string('contactfor', 255)->nullable(); $table->string('restriction', 255)->nullable(); $table->text('type')->nullable(); $table->text('image')->nullable(); $table->string('slug', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('contacts'); } }