increments('id'); $table->integer('agent_id')->nullable(); $table->integer('listing_id')->nullable(); $table->integer('category_id')->nullable(); $table->integer('location_id')->nullable(); $table->integer('sublocation_id')->nullable(); $table->integer('property_id')->nullable(); $table->string('name_title', 200)->nullable(); $table->string('name', 150)->nullable(); $table->string('source', 80)->nullable(); $table->string('email', 200)->nullable(); $table->string('phone', 200)->nullable(); $table->string('mobile', 200)->nullable(); $table->dateTime('contact_at')->nullable(); $table->string('expiry_at', 30)->nullable(); $table->string('priority', 15)->nullable(); $table->string('finance', 50)->nullable(); $table->string('listing_type', 30)->nullable(); $table->string('customer_type', 50)->nullable(); $table->integer('min_price')->nullable(); $table->integer('max_price')->nullable(); $table->integer('min_area')->nullable(); $table->integer('max_area')->nullable(); $table->integer('min_bed')->nullable(); $table->integer('max_bed')->nullable(); $table->text('description')->nullable(); $table->text('customer_care_notes')->nullable(); $table->enum('qualify', ['Yes', 'No'])->nullable(); $table->string('page_name', 50)->nullable(); $table->string('source_url', 1000)->nullable(); $table->string('lng', 10)->nullable(); $table->string('form_name', 250)->nullable(); $table->string('project_name', 250)->nullable(); $table->string('timing', 30)->nullable(); $table->string('client_ip', 100)->nullable(); $table->string('utm_source', 100)->nullable(); $table->string('utm_medium', 100)->nullable(); $table->string('utm_campaign', 100)->nullable(); $table->string('sub_source', 100)->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('litecms_enquiry_enquiries'); } }