increments('id'); $table->integer('user_id')->nullable(); $table->string('title', 255)->nullable(); $table->string('type', 255)->nullable(); $table->string('category', 255)->nullable(); $table->integer('price')->nullable(); $table->string('phone', 255)->nullable(); $table->text('email')->nullable(); $table->text('website')->nullable(); $table->integer('country_id')->nullable(); $table->integer('state_id')->nullable(); $table->integer('city_id')->nullable(); $table->string('zipcode', 255)->nullable(); $table->string('street', 255)->nullable(); $table->integer('street_no')->nullable(); $table->text('note')->nullable(); $table->text('description')->nullable(); $table->text('images')->nullable(); $table->enum('is_auction', ['on','off'])->nullable(); $table->date('ads_auction_from')->nullable(); $table->date('ads_auction_to')->nullable(); $table->string('slug', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('services'); } }