increments('id'); $table->integer('category_id')->nullable(); $table->string('name', 255)->nullable(); $table->string('company', 255)->nullable(); $table->string('address', 255)->nullable(); $table->integer('country_id')->nullable(); $table->integer('city_id')->nullable(); $table->string('phone', 255)->nullable(); $table->text('images')->nullable(); $table->text('description')->nullable(); $table->integer('rating')->nullable(); $table->text('contact')->nullable(); $table->text('timing')->nullable(); $table->string('slug', 255)->nullable(); $table->enum('status', ['show','hide'])->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('services'); } }