increments('id'); $table->integer('user_id')->nullable(); $table->integer('user_type')->nullable(); $table->integer('country_id')->nullable(); $table->integer('state_id')->nullable(); $table->integer('district_id')->nullable(); $table->integer('location_id')->nullable(); $table->integer('parent_id')->nullable(); $table->string('name', 255)->nullable(); $table->text('address')->nullable(); $table->text('description')->nullable(); $table->string('phone', 255)->nullable(); $table->string('website', 255)->nullable(); $table->string('email', 255)->nullable(); $table->text('working_hours')->nullable(); $table->text('logo')->nullable(); $table->tinyInteger('main_branch')->nullable(); $table->text('images')->nullable(); $table->string('latitude', 255)->nullable(); $table->string('longitude', 255)->nullable(); $table->string('slug', 255)->nullable(); $table->enum('published', ['yes','no'])->nullable(); $table->string('upload_folder', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('shops'); } }