increments('id'); $table->integer('user_id')->nullable(); $table->string('title', 255)->nullable(); $table->text('company')->nullable(); $table->string('surname', 255)->nullable(); $table->string('name', 255)->nullable(); $table->text('category')->nullable(); $table->string('phone', 255)->nullable(); $table->string('mobile', 255)->nullable(); $table->string('fax', 255)->nullable(); $table->string('email', 255)->nullable(); $table->text('website')->nullable(); $table->integer('country_id')->nullable(); $table->integer('state_id')->nullable(); $table->integer('city_id')->nullable(); $table->integer('zipcode')->nullable(); $table->string('street', 255)->nullable(); $table->integer('street_no')->nullable(); $table->text('tags')->nullable(); $table->text('content')->nullable(); $table->text('images')->nullable(); $table->string('slug', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('contacts'); } }