TypeError: Cannot read properties of null (reading 'select')
    at getAllProperties (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:241:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:457:18
TypeError: Cannot read properties of null (reading 'select')
    at getAllProperties (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:241:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:457:18
TypeError: Cannot read properties of null (reading 'select')
    at getAllProperties (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:241:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:457:18
TypeError: Cannot read properties of null (reading 'select')
    at getAllProperties (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:241:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:457:18
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:323:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:592:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:323:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:592:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:323:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:592:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)
params: CR - Offplan Project1,CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.

The development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.

Strategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi's key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi's sought-after residential locations.,Riverside,Nairobi,Cheval,2026-04-01 00:00:00.000,2028-12-31 00:00:00.000,0,0,0,20,8300000,18000000,A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.,["• Wellness & Leisure: Rooftop infinity heated pool","gym","yoga studio","sauna","steam room","spa/massage room","cinema","and games room. • Work & Lifestyle: Co-working space","sky lounge","rooftop restaurant/bar","on-site market (\"Cheval Market\")","and landscaped green spaces. • Building & Security: Smart-home features","six high-speed elevators","multi-level parking (including EV charging support)","24/7 security","concierge","backup power","and borehole water."],["/uploads/1795182807865-975327061.jpeg","/uploads/1795182807867-479723530.jpeg","/uploads/1795182807868-58056063.jpeg","/uploads/1795182807868-55617032.jpeg","/uploads/1795182807869-239021926.jpeg","/uploads/1795182807869-386771239.jpeg","/uploads/1795182807871-793245743.jpeg","/uploads/1795182807872-666230203.jpeg","/uploads/1795182807873-364949612.jpeg","/uploads/1795182807874-116683235.jpeg"],true
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:19)
    at async createOffPlanProject (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:302:18)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:616:5 {
  query: 'insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)',
  params: [
    'CR - Offplan Project1',
    'CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.\n' +
      '\n' +
      "The development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.\n" +
      '\n' +
      "Strategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi's key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi's sought-after residential locations.",
    'Riverside',
    'Nairobi',
    'Cheval',
    '2026-04-01 00:00:00.000',
    '2028-12-31 00:00:00.000',
    0,
    0,
    0,
    20,
    '8300000',
    '18000000',
    'A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.',
    '["• Wellness & Leisure: Rooftop infinity heated pool","gym","yoga studio","sauna","steam room","spa/massage room","cinema","and games room. • Work & Lifestyle: Co-working space","sky lounge","rooftop restaurant/bar","on-site market (\\"Cheval Market\\")","and landscaped green spaces. • Building & Security: Smart-home features","six high-speed elevators","multi-level parking (including EV charging support)","24/7 security","concierge","backup power","and borehole water."]',
    '["/uploads/1795182807865-975327061.jpeg","/uploads/1795182807867-479723530.jpeg","/uploads/1795182807868-58056063.jpeg","/uploads/1795182807868-55617032.jpeg","/uploads/1795182807869-239021926.jpeg","/uploads/1795182807869-386771239.jpeg","/uploads/1795182807871-793245743.jpeg","/uploads/1795182807872-666230203.jpeg","/uploads/1795182807873-364949612.jpeg","/uploads/1795182807874-116683235.jpeg"]',
    true
  ],
  cause: Error: Unknown column 'floors' in 'INSERT INTO'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:53:29
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:30)
      at QueryPromise.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/insert.js:121:27)
      at QueryPromise.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'INSERT INTO'",
    sql: 'insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, \'CR - Offplan Project1\', \'CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.\\n\\nThe development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents\\\' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.\\n\\nStrategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi\\\'s key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi\\\'s sought-after residential locations.\', \'Riverside\', \'Nairobi\', \'Cheval\', \'2026-04-01 00:00:00.000\', \'2028-12-31 00:00:00.000\', 0, 0, 0, 20, \'8300000\', \'18000000\', \'A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.\', \'[\\"• Wellness & Leisure: Rooftop infinity heated pool\\",\\"gym\\",\\"yoga studio\\",\\"sauna\\",\\"steam room\\",\\"spa/massage room\\",\\"cinema\\",\\"and games room. • Work & Lifestyle: Co-working space\\",\\"sky lounge\\",\\"rooftop restaurant/bar\\",\\"on-site market (\\\\\\"Cheval Market\\\\\\")\\",\\"and landscaped green spaces. • Building & Security: Smart-home features\\",\\"six high-speed elevators\\",\\"multi-level parking (including EV charging support)\\",\\"24/7 security\\",\\"concierge\\",\\"backup power\\",\\"and borehole water.\\"]\', \'[\\"/uploads/1795182807865-975327061.jpeg\\",\\"/uploads/1795182807867-479723530.jpeg\\",\\"/uploads/1795182807868-58056063.jpeg\\",\\"/uploads/1795182807868-55617032.jpeg\\",\\"/uploads/1795182807869-239021926.jpeg\\",\\"/uploads/1795182807869-386771239.jpeg\\",\\"/uploads/1795182807871-793245743.jpeg\\",\\"/uploads/1795182807872-666230203.jpeg\\",\\"/uploads/1795182807873-364949612.jpeg\\",\\"/uploads/1795182807874-116683235.jpeg\\"]\', true, default, default)'
  }
}
DrizzleQueryError: Failed query: insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)
params: CR - Offplan Project1,CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.

The development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.

Strategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi's key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi's sought-after residential locations.,Riverside,Nairobi,Cheval,2026-04-01 00:00:00.000,2028-12-31 00:00:00.000,0,0,0,20,8300000,18000000,A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.,["• Wellness & Leisure: Rooftop infinity heated pool","gym","yoga studio","sauna","steam room","spa/massage room","cinema","and games room. • Work & Lifestyle: Co-working space","sky lounge","rooftop restaurant/bar","on-site market (\"Cheval Market\")","and landscaped green spaces. • Building & Security: Smart-home features","six high-speed elevators","multi-level parking (including EV charging support)","24/7 security","concierge","backup power","and borehole water."],["/uploads/1795182807865-975327061.jpeg","/uploads/1795182807867-479723530.jpeg","/uploads/1795182807868-58056063.jpeg","/uploads/1795182807868-55617032.jpeg","/uploads/1795182807869-239021926.jpeg","/uploads/1795182807869-386771239.jpeg","/uploads/1795182807871-793245743.jpeg","/uploads/1795182807872-666230203.jpeg","/uploads/1795182807873-364949612.jpeg","/uploads/1795182807874-116683235.jpeg"],true
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:19)
    at async createOffPlanProject (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:302:18)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:616:5 {
  query: 'insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)',
  params: [
    'CR - Offplan Project1',
    'CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.\n' +
      '\n' +
      "The development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.\n" +
      '\n' +
      "Strategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi's key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi's sought-after residential locations.",
    'Riverside',
    'Nairobi',
    'Cheval',
    '2026-04-01 00:00:00.000',
    '2028-12-31 00:00:00.000',
    0,
    0,
    0,
    20,
    '8300000',
    '18000000',
    'A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.',
    '["• Wellness & Leisure: Rooftop infinity heated pool","gym","yoga studio","sauna","steam room","spa/massage room","cinema","and games room. • Work & Lifestyle: Co-working space","sky lounge","rooftop restaurant/bar","on-site market (\\"Cheval Market\\")","and landscaped green spaces. • Building & Security: Smart-home features","six high-speed elevators","multi-level parking (including EV charging support)","24/7 security","concierge","backup power","and borehole water."]',
    '["/uploads/1795182807865-975327061.jpeg","/uploads/1795182807867-479723530.jpeg","/uploads/1795182807868-58056063.jpeg","/uploads/1795182807868-55617032.jpeg","/uploads/1795182807869-239021926.jpeg","/uploads/1795182807869-386771239.jpeg","/uploads/1795182807871-793245743.jpeg","/uploads/1795182807872-666230203.jpeg","/uploads/1795182807873-364949612.jpeg","/uploads/1795182807874-116683235.jpeg"]',
    true
  ],
  cause: Error: Unknown column 'floors' in 'INSERT INTO'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:53:29
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:30)
      at QueryPromise.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/insert.js:121:27)
      at QueryPromise.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'INSERT INTO'",
    sql: 'insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, \'CR - Offplan Project1\', \'CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.\\n\\nThe development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents\\\' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.\\n\\nStrategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi\\\'s key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi\\\'s sought-after residential locations.\', \'Riverside\', \'Nairobi\', \'Cheval\', \'2026-04-01 00:00:00.000\', \'2028-12-31 00:00:00.000\', 0, 0, 0, 20, \'8300000\', \'18000000\', \'A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.\', \'[\\"• Wellness & Leisure: Rooftop infinity heated pool\\",\\"gym\\",\\"yoga studio\\",\\"sauna\\",\\"steam room\\",\\"spa/massage room\\",\\"cinema\\",\\"and games room. • Work & Lifestyle: Co-working space\\",\\"sky lounge\\",\\"rooftop restaurant/bar\\",\\"on-site market (\\\\\\"Cheval Market\\\\\\")\\",\\"and landscaped green spaces. • Building & Security: Smart-home features\\",\\"six high-speed elevators\\",\\"multi-level parking (including EV charging support)\\",\\"24/7 security\\",\\"concierge\\",\\"backup power\\",\\"and borehole water.\\"]\', \'[\\"/uploads/1795182807865-975327061.jpeg\\",\\"/uploads/1795182807867-479723530.jpeg\\",\\"/uploads/1795182807868-58056063.jpeg\\",\\"/uploads/1795182807868-55617032.jpeg\\",\\"/uploads/1795182807869-239021926.jpeg\\",\\"/uploads/1795182807869-386771239.jpeg\\",\\"/uploads/1795182807871-793245743.jpeg\\",\\"/uploads/1795182807872-666230203.jpeg\\",\\"/uploads/1795182807873-364949612.jpeg\\",\\"/uploads/1795182807874-116683235.jpeg\\"]\', true, default, default)'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:323:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:592:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)
params: CR - Offplan Project1,CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.

The development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.

Strategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi's key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi's sought-after residential locations.,Riverside,Nairobi,Cheval,2026-04-01 00:00:00.000,2028-12-31 00:00:00.000,0,0,0,20,8300000,18000000,A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.,["• Wellness & Leisure: Rooftop infinity heated pool","gym","yoga studio","sauna","steam room","spa/massage room","cinema","and games room. • Work & Lifestyle: Co-working space","sky lounge","rooftop restaurant/bar","on-site market (\"Cheval Market\")","and landscaped green spaces. • Building & Security: Smart-home features","six high-speed elevators","multi-level parking (including EV charging support)","24/7 security","concierge","backup power","and borehole water."],["/uploads/1795182807865-975327061.jpeg","/uploads/1795182807867-479723530.jpeg","/uploads/1795182807868-58056063.jpeg","/uploads/1795182807868-55617032.jpeg","/uploads/1795182807869-239021926.jpeg","/uploads/1795182807869-386771239.jpeg","/uploads/1795182807871-793245743.jpeg","/uploads/1795182807872-666230203.jpeg","/uploads/1795182807873-364949612.jpeg","/uploads/1795182807874-116683235.jpeg"],true
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:19)
    at async createOffPlanProject (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:321:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:636:5 {
  query: 'insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)',
  params: [
    'CR - Offplan Project1',
    'CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.\n' +
      '\n' +
      "The development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.\n" +
      '\n' +
      "Strategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi's key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi's sought-after residential locations.",
    'Riverside',
    'Nairobi',
    'Cheval',
    '2026-04-01 00:00:00.000',
    '2028-12-31 00:00:00.000',
    0,
    0,
    0,
    20,
    '8300000',
    '18000000',
    'A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.',
    '["• Wellness & Leisure: Rooftop infinity heated pool","gym","yoga studio","sauna","steam room","spa/massage room","cinema","and games room. • Work & Lifestyle: Co-working space","sky lounge","rooftop restaurant/bar","on-site market (\\"Cheval Market\\")","and landscaped green spaces. • Building & Security: Smart-home features","six high-speed elevators","multi-level parking (including EV charging support)","24/7 security","concierge","backup power","and borehole water."]',
    '["/uploads/1795182807865-975327061.jpeg","/uploads/1795182807867-479723530.jpeg","/uploads/1795182807868-58056063.jpeg","/uploads/1795182807868-55617032.jpeg","/uploads/1795182807869-239021926.jpeg","/uploads/1795182807869-386771239.jpeg","/uploads/1795182807871-793245743.jpeg","/uploads/1795182807872-666230203.jpeg","/uploads/1795182807873-364949612.jpeg","/uploads/1795182807874-116683235.jpeg"]',
    true
  ],
  cause: Error: Unknown column 'floors' in 'INSERT INTO'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:53:29
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:30)
      at QueryPromise.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/insert.js:121:27)
      at QueryPromise.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'INSERT INTO'",
    sql: 'insert into `off_plan_projects` (`id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at`) values (default, \'CR - Offplan Project1\', \'CR - Offplan Project1 is an exclusive luxury apartment development located along Riverside Drive, Nairobi, opposite The Cube. Designed to redefine modern urban living, this prestigious development offers a collection of thoughtfully designed 1-bedroom, 1-bedroom-plus-study, 2-bedroom and 2-bedroom-plus-study apartments. Each residence is designed with contemporary architecture, spacious layouts, elegant interiors and quality finishes, creating comfortable and sophisticated living spaces for homeowners and property investors.\\n\\nThe development offers an impressive range of lifestyle amenities, including a heated rooftop infinity swimming pool, fully equipped gym, yoga studio, spa and wellness facilities, private cinema, residents\\\' clubhouse, rooftop lounge, restaurant and co-working spaces. Additional facilities such as high-speed elevators, secure parking, backup power, borehole water supply and 24-hour security are designed to provide convenience, comfort and peace of mind for residents.\\n\\nStrategically situated in the prestigious Riverside neighbourhood, CR - Offplan Project1 provides convenient access to Westlands, Lavington, major shopping centres, international schools, hospitals, restaurants and Nairobi\\\'s key business districts. Whether you are looking for a modern residence or an investment opportunity, CR - Offplan Project1 offers an attractive opportunity to own a luxury apartment in one of Nairobi\\\'s sought-after residential locations.\', \'Riverside\', \'Nairobi\', \'Cheval\', \'2026-04-01 00:00:00.000\', \'2028-12-31 00:00:00.000\', 0, 0, 0, 20, \'8300000\', \'18000000\', \'A 20% initial deposit is advertised upon signing the sale agreement, with the remaining balance payable through instalments during construction. Some agents advertise payment arrangements extending up to 25 months, with quarterly or biannual instalments. Mortgage financing may also be available. Confirm the current developer payment schedule before publishing.\', \'[\\"• Wellness & Leisure: Rooftop infinity heated pool\\",\\"gym\\",\\"yoga studio\\",\\"sauna\\",\\"steam room\\",\\"spa/massage room\\",\\"cinema\\",\\"and games room. • Work & Lifestyle: Co-working space\\",\\"sky lounge\\",\\"rooftop restaurant/bar\\",\\"on-site market (\\\\\\"Cheval Market\\\\\\")\\",\\"and landscaped green spaces. • Building & Security: Smart-home features\\",\\"six high-speed elevators\\",\\"multi-level parking (including EV charging support)\\",\\"24/7 security\\",\\"concierge\\",\\"backup power\\",\\"and borehole water.\\"]\', \'[\\"/uploads/1795182807865-975327061.jpeg\\",\\"/uploads/1795182807867-479723530.jpeg\\",\\"/uploads/1795182807868-58056063.jpeg\\",\\"/uploads/1795182807868-55617032.jpeg\\",\\"/uploads/1795182807869-239021926.jpeg\\",\\"/uploads/1795182807869-386771239.jpeg\\",\\"/uploads/1795182807871-793245743.jpeg\\",\\"/uploads/1795182807872-666230203.jpeg\\",\\"/uploads/1795182807873-364949612.jpeg\\",\\"/uploads/1795182807874-116683235.jpeg\\"]\', true, default, default)'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:343:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:612:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:343:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:612:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:343:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:612:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:343:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:612:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:343:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:612:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllOffPlanProjects (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:343:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:612:18 {
  query: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`',
  params: [],
  cause: Error: Unknown column 'floors' in 'SELECT'
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    code: 'ER_BAD_FIELD_ERROR',
    errno: 1054,
    sqlState: '42S22',
    sqlMessage: "Unknown column 'floors' in 'SELECT'",
    sql: 'select `id`, `title`, `description`, `location`, `city`, `developer`, `start_date`, `completion_date`, `completion_percentage`, `total_units`, `available_units`, `floors`, `price_from`, `price_to`, `payment_plan`, `amenities`, `images`, `featured`, `created_at`, `updated_at` from `off_plan_projects`'
  }
}
MulterError: Unexpected field
    at wrappedFileFilter (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/multer/index.js:40:19)
    at Multipart.<anonymous> (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/multer/lib/make-middleware.js:109:7)
    at Multipart.emit (node:events:519:28)
    at HeaderParser.cb (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/busboy/lib/types/multipart.js:358:14)
    at HeaderParser.push (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/busboy/lib/types/multipart.js:162:20)
    at SBMH.ssCb [as _cb] (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/busboy/lib/types/multipart.js:394:37)
    at feed (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/streamsearch/lib/sbmh.js:248:10)
    at SBMH.push (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/streamsearch/lib/sbmh.js:104:16)
    at Multipart._write (/home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/busboy/lib/types/multipart.js:567:19)
    at writeOrBuffer (node:internal/streams/writable:572:12) {
  code: 'LIMIT_UNEXPECTED_FILE',
  field: 'images',
  storageErrors: []
}
DrizzleQueryError: Failed query: insert into `properties` (`id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)
params: 3BEDROOM PLUS DSQ FOR SALE IN KILELESHWA,
📍Location: Gatundu Close, KILELESHWA
🪜 Apartment is on 9th floor

✨ Key Features:
- Low Density Development, only 40 apartments on 1/2 an Acre
* 3 bedrooms 
* Guest bathroom
* Detached DSQ
* Located on the 9th floor
* Uninterrupted views of Kileleshwa
* Road-facing with great natural light
* Quiet and serene location

💰 Asking Price:
KES 22.5M,Gatundu Close, KILELESHWA, Nairobi,Nairobi,Gatundu Close, KILELESHWA,Apartment,For Sale,22500000,,3,3,,,true,["/uploads/1795264196138-1840853.jpeg","/uploads/1795264211340-495245311.jpeg","/uploads/1795264211340-124401138.jpeg","/uploads/1795264211340-317383550.jpeg","/uploads/1795264211340-854640195.jpeg","/uploads/1795264211340-85817530.jpeg","/uploads/1795264211341-666638422.jpeg","/uploads/1795264211341-308225029.jpeg","/uploads/1795264211341-835278773.jpeg"],["🏢 Amenities: * Swimming pool * Gym * Sauna & steam room * Guest lounge area 🚗 Parking: * 2 parking spaces per apartment"],2
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:19)
    at async createProperty (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:248:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:503:5 {
  query: 'insert into `properties` (`id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)',
  params: [
    '3BEDROOM PLUS DSQ FOR SALE IN KILELESHWA',
    '\n' +
      '📍Location: Gatundu Close, KILELESHWA\n' +
      '🪜 Apartment is on 9th floor\n' +
      '\n' +
      '✨ Key Features:\n' +
      '- Low Density Development, only 40 apartments on 1/2 an Acre\n' +
      '* 3 bedrooms \n' +
      '* Guest bathroom\n' +
      '* Detached DSQ\n' +
      '* Located on the 9th floor\n' +
      '* Uninterrupted views of Kileleshwa\n' +
      '* Road-facing with great natural light\n' +
      '* Quiet and serene location\n' +
      '\n' +
      '💰 Asking Price:\n' +
      'KES 22.5M',
    'Gatundu Close, KILELESHWA, Nairobi',
    'Nairobi',
    'Gatundu Close, KILELESHWA',
    'Apartment',
    'For Sale',
    '22500000',
    null,
    3,
    3,
    null,
    null,
    true,
    '["/uploads/1795264196138-1840853.jpeg","/uploads/1795264211340-495245311.jpeg","/uploads/1795264211340-124401138.jpeg","/uploads/1795264211340-317383550.jpeg","/uploads/1795264211340-854640195.jpeg","/uploads/1795264211340-85817530.jpeg","/uploads/1795264211341-666638422.jpeg","/uploads/1795264211341-308225029.jpeg","/uploads/1795264211341-835278773.jpeg"]',
    '["🏢 Amenities: * Swimming pool * Gym * Sauna & steam room * Guest lounge area 🚗 Parking: * 2 parking spaces per apartment"]',
    2
  ],
  cause: Error: Incorrect string value: '\xF0\x9F\x93\x8DLo...' for column `planiqco_database`.`properties`.`description` at row 1
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:53:29
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:30)
      at QueryPromise.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/insert.js:121:27)
      at QueryPromise.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17) {
    code: 'ER_TRUNCATED_WRONG_VALUE_FOR_FIELD',
    errno: 1366,
    sqlState: '22007',
    sqlMessage: "Incorrect string value: '\\xF0\\x9F\\x93\\x8DLo...' for column `planiqco_database`.`properties`.`description` at row 1",
    sql: 'insert into `properties` (`id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at`) values (default, \'3BEDROOM PLUS DSQ FOR SALE IN KILELESHWA\', \'\\n📍Location: Gatundu Close, KILELESHWA\\n🪜 Apartment is on 9th floor\\n\\n✨ Key Features:\\n- Low Density Development, only 40 apartments on 1/2 an Acre\\n* 3 bedrooms \\n* Guest bathroom\\n* Detached DSQ\\n* Located on the 9th floor\\n* Uninterrupted views of Kileleshwa\\n* Road-facing with great natural light\\n* Quiet and serene location\\n\\n💰 Asking Price:\\nKES 22.5M\', \'Gatundu Close, KILELESHWA, Nairobi\', \'Nairobi\', \'Gatundu Close, KILELESHWA\', \'Apartment\', \'For Sale\', \'22500000\', NULL, 3, 3, NULL, NULL, true, \'[\\"/uploads/1795264196138-1840853.jpeg\\",\\"/uploads/1795264211340-495245311.jpeg\\",\\"/uploads/1795264211340-124401138.jpeg\\",\\"/uploads/1795264211340-317383550.jpeg\\",\\"/uploads/1795264211340-854640195.jpeg\\",\\"/uploads/1795264211340-85817530.jpeg\\",\\"/uploads/1795264211341-666638422.jpeg\\",\\"/uploads/1795264211341-308225029.jpeg\\",\\"/uploads/1795264211341-835278773.jpeg\\"]\', \'[\\"🏢 Amenities: * Swimming pool * Gym * Sauna & steam room * Guest lounge area 🚗 Parking: * 2 parking spaces per apartment\\"]\', 2, default, default)'
  }
}
DrizzleQueryError: Failed query: insert into `properties` (`id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)
params: MOUNTAIN VIEW ESTATE | Elegant 4 Bedroom Family Home | For Sale | KSh 49M,Discover this beautiful family home nestled in a secure gated community in Mountain View Estate. Designed for comfortable living, it offers spacious interiors, abundant natural light, and lush mature gardens—perfect for families seeking privacy and tranquility.
 Property Features
▪️ 4 spacious bedrooms (guest bedroom en-suite)
▪️ Upstairs family/TV room
▪️ Spacious lounge with fireplace
▪️ Separate dining area
▪️ Large fitted kitchen
▪️ Guest cloakroom
▪️ 2 self-contained staff quarters with kitchenette
▪️ Large mature front & backyard gardens with fruit trees
▪️ Parking for up to 7 vehicles
▪️ Bright interiors with large windows
▪️ Located within a secure private court
 Asking Price: KSh 49 Million
,Mount View, Nairobi,Nairobi,Mount View,Townhouse,For Sale,49000000,,4,4,,,true,["/uploads/1795265550163-181683029.jpg","/uploads/1795265562212-866076726.jpg","/uploads/1795265562212-258729898.jpg","/uploads/1795265562213-809770026.jpg","/uploads/1795265562213-528394227.jpg","/uploads/1795265562213-104128876.jpg","/uploads/1795265562213-226177054.jpg","/uploads/1795265562214-780713784.jpg"],[],2
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:19)
    at async createProperty (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:248:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:503:5 {
  query: 'insert into `properties` (`id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at`) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, default, default)',
  params: [
    'MOUNTAIN VIEW ESTATE | Elegant 4 Bedroom Family Home | For Sale | KSh 49M',
    'Discover this beautiful family home nestled in a secure gated community in Mountain View Estate. Designed for comfortable living, it offers spacious interiors, abundant natural light, and lush mature gardens—perfect for families seeking privacy and tranquility.\n' +
      ' Property Features\n' +
      '▪️ 4 spacious bedrooms (guest bedroom en-suite)\n' +
      '▪️ Upstairs family/TV room\n' +
      '▪️ Spacious lounge with fireplace\n' +
      '▪️ Separate dining area\n' +
      '▪️ Large fitted kitchen\n' +
      '▪️ Guest cloakroom\n' +
      '▪️ 2 self-contained staff quarters with kitchenette\n' +
      '▪️ Large mature front & backyard gardens with fruit trees\n' +
      '▪️ Parking for up to 7 vehicles\n' +
      '▪️ Bright interiors with large windows\n' +
      '▪️ Located within a secure private court\n' +
      ' Asking Price: KSh 49 Million\n',
    'Mount View, Nairobi',
    'Nairobi',
    'Mount View',
    'Townhouse',
    'For Sale',
    '49000000',
    null,
    4,
    4,
    null,
    null,
    true,
    '["/uploads/1795265550163-181683029.jpg","/uploads/1795265562212-866076726.jpg","/uploads/1795265562212-258729898.jpg","/uploads/1795265562213-809770026.jpg","/uploads/1795265562213-528394227.jpg","/uploads/1795265562213-104128876.jpg","/uploads/1795265562213-226177054.jpg","/uploads/1795265562214-780713784.jpg"]',
    '[]',
    2
  ],
  cause: Error: Incorrect string value: '\xE2\x96\xAA\xEF\xB8\x8F...' for column `planiqco_database`.`properties`.`description` at row 1
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:53:29
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:52:30)
      at QueryPromise.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/insert.js:121:27)
      at QueryPromise.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17) {
    code: 'ER_TRUNCATED_WRONG_VALUE_FOR_FIELD',
    errno: 1366,
    sqlState: '22007',
    sqlMessage: "Incorrect string value: '\\xE2\\x96\\xAA\\xEF\\xB8\\x8F...' for column `planiqco_database`.`properties`.`description` at row 1",
    sql: 'insert into `properties` (`id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at`) values (default, \'MOUNTAIN VIEW ESTATE | Elegant 4 Bedroom Family Home | For Sale | KSh 49M\', \'Discover this beautiful family home nestled in a secure gated community in Mountain View Estate. Designed for comfortable living, it offers spacious interiors, abundant natural light, and lush mature gardens—perfect for families seeking privacy and tranquility.\\n Property Features\\n▪️ 4 spacious bedrooms (guest bedroom en-suite)\\n▪️ Upstairs family/TV room\\n▪️ Spacious lounge with fireplace\\n▪️ Separate dining area\\n▪️ Large fitted kitchen\\n▪️ Guest cloakroom\\n▪️ 2 self-contained staff quarters with kitchenette\\n▪️ Large mature front & backyard gardens with fruit trees\\n▪️ Parking for up to 7 vehicles\\n▪️ Bright interiors with large windows\\n▪️ Located within a secure private court\\n Asking Price: KSh 49 Million\\n\', \'Mount View, Nairobi\', \'Nairobi\', \'Mount View\', \'Townhouse\', \'For Sale\', \'49000000\', NULL, 4, 4, NULL, NULL, true, \'[\\"/uploads/1795265550163-181683029.jpg\\",\\"/uploads/1795265562212-866076726.jpg\\",\\"/uploads/1795265562212-258729898.jpg\\",\\"/uploads/1795265562213-809770026.jpg\\",\\"/uploads/1795265562213-528394227.jpg\\",\\"/uploads/1795265562213-104128876.jpg\\",\\"/uploads/1795265562213-226177054.jpg\\",\\"/uploads/1795265562214-780713784.jpg\\"]\', \'[]\', 2, default, default)'
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at` from `properties`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllProperties (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:284:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:477:18 {
  query: 'select `id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at` from `properties`',
  params: [],
  cause: Error: Can't add new command when connection is in closed state
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    fatal: true
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at` from `properties`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllProperties (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:284:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:477:18 {
  query: 'select `id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at` from `properties`',
  params: [],
  cause: Error: Can't add new command when connection is in closed state
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    fatal: true
  }
}
DrizzleQueryError: Failed query: select `id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at` from `properties`
params: 
    at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:25:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:20)
    at async getAllProperties (file:///home2/planiqco/new.planiq.co.ke/dist/index.js:284:10)
    at async file:///home2/planiqco/new.planiq.co.ke/dist/index.js:477:18 {
  query: 'select `id`, `title`, `description`, `address`, `city`, `neighborhood`, `type`, `status`, `price`, `rent_price`, `bedrooms`, `bathrooms`, `area_size`, `year_built`, `featured`, `images`, `amenities`, `agent_id`, `created_at`, `updated_at` from `properties`',
  params: [],
  cause: Error: Can't add new command when connection is in closed state
      at file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:79:27
      at MySql2PreparedQuery.queryWithCache (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/session.js:23:22)
      at MySql2PreparedQuery.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql2/session.js:78:31)
      at MySqlSelectBase.execute (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/mysql-core/query-builders/select.js:805:27)
      at MySqlSelectBase.then (file:///home2/planiqco/nodevenv/new.planiq.co.ke/22/lib/node_modules/drizzle-orm/query-promise.js:21:17)
      at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
    fatal: true
  }
}
