increments('id'); $table->integer('category_id')->nullable(); $table->integer('country_id')->nullable(); $table->integer('state_id')->nullable(); $table->integer('district_id')->nullable(); $table->integer('area_id')->nullable(); $table->integer('location_id')->nullable(); $table->integer('client_id')->nullable(); $table->string('title', 255)->nullable(); $table->string('description', 255)->nullable(); $table->enum('ad_status', ['rent','sale'])->nullable(); $table->text('Features')->nullable(); $table->text('Details')->nullable(); $table->date('expire_date')->nullable(); $table->enum('payment_mode', ['cash','visa','master card','paypal','debit card','cheques','credit card','net banking'])->nullable(); $table->string('email', 255)->nullable(); $table->text('images')->nullable(); $table->integer('slug')->nullable(); $table->enum('status', ['active','inactive'])->nullable(); $table->string('upload_folder', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('classifieds'); } }