increments('id'); $table->string('refno', 255)->nullable(); $table->string('unito', 255)->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->integer('country_id')->nullable(); $table->integer('state_id')->nullable(); $table->integer('district_id')->nullable(); $table->integer('city_id')->nullable(); $table->integer('location_id')->nullable(); $table->integer('category_id')->nullable(); $table->string('title', 100)->nullable(); $table->text('description')->nullable(); $table->integer('price')->nullable(); $table->date('year_built')->nullable(); $table->enum('rent_frequency', ['Yearly','Monthly','Weekly','Daily'])->nullable(); $table->integer('bedrooms')->nullable(); $table->integer('bathrooms')->nullable(); $table->increments('buildup_area')->nullable(); $table->enum('buildarea_type', ['CEN','ACR','Sq ft'])->nullable(); $table->increments('land_area')->nullable(); $table->enum('landarea_type', ['CEN','ACR','Sq ft'])->nullable(); $table->integer('floor_nos')->nullable(); $table->integer('parking')->nullable(); $table->enum('furnishing', ['Furnished','Semi furnished','Bare shell','Unfurnished'])->nullable(); $table->text('features')->nullable(); $table->text('amenities')->nullable(); $table->text('portals')->nullable(); $table->string('address', 255)->nullable(); $table->string('locality', 255)->nullable(); $table->integer('zip_code')->nullable(); $table->string('landmarks', 255)->nullable(); $table->enum('visibility', ['featured','premium'])->nullable(); $table->text('images')->nullable(); $table->string('video_link', 255)->nullable(); $table->date('expire_date')->nullable(); $table->text('source')->nullable(); $table->enum('property_for', ['Rent','Sale','PG','Lease'])->nullable(); $table->enum('prop_status', ['available','pending','upcoming','reserved'])->nullable(); $table->enum('build_status', ['completed','underconstruction'])->nullable(); $table->enum('lead_type', ['Seller','Landlord'])->nullable(); $table->string('owner', 255)->nullable(); $table->string('phone', 255)->nullable(); $table->string('email', 255)->nullable(); $table->integer('view_count')->nullable(); $table->string('slug', 255)->nullable(); $table->enum('status', ['Published','Pending','Draft'])->nullable(); $table->string('meta_title', 100)->nullable(); $table->string('meta_description', 100)->nullable(); $table->string('meta_keyword', 100)->nullable(); $table->string('upload_folder', 250)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('properties'); } }