{
  "errorId": "ERR_1759615815992_0ynw28az6",
  "timestamp": "2025-10-04T22:10:15.992Z",
  "message": "Unknown column 'booking_number' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.insert (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:308:21)\n    at async model.save (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:2490:35)\n    at async Booking.create (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1362:12)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:266:21",
  "name": "SequelizeDatabaseError",
  "sql": "INSERT INTO `bookings` (`id`,`booking_number`,`customer_name`,`customer_phone`,`customer_email`,`branch_id`,`table_id`,`booking_date`,`booking_time`,`status`,`total_price`,`final_amount`,`payment_status`,`notes`,`special_requests`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);",
  "parameters": [
    "BK1759615815975",
    "mahmoud SABER MAHMOUD BAHNSI KHAMIS",
    "01028454790",
    "mido10sb@gmail.com",
    2,
    1,
    "2025-10-07",
    "08:00",
    "confirmed",
    0,
    0,
    "unpaid",
    "",
    "[{\"id\":5,\"name\":\"فحص البطارية\",\"category\":\"عام\",\"duration\":15,\"price\":\"250.00\",\"priority\":\"standard\"}]",
    "2025-10-04 22:10:15",
    "2025-10-04 22:10:15"
  ],
  "context": {
    "endpoint": "POST /api/v1/bookings",
    "requestBody": {
      "customerName": "mahmoud SABER MAHMOUD BAHNSI KHAMIS",
      "customerPhone": "01028454790",
      "customerEmail": "mido10sb@gmail.com",
      "branchId": 2,
      "tableId": 1,
      "date": "2025-10-07",
      "time": "08:00",
      "services": [
        {
          "id": 5,
          "name": "فحص البطارية",
          "category": "عام",
          "duration": 15,
          "price": "250.00",
          "priority": "standard"
        }
      ],
      "notes": ""
    },
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "content-length": "320",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "content-type": "application/json",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36"
  },
  "additionalInfo": {
    "operation": "create_booking",
    "timestamp": "2025-10-04T22:10:15.992Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122527744,
      "heapTotal": 37601280,
      "heapUsed": 33404240,
      "external": 2370886,
      "arrayBuffers": 51065
    },
    "uptime": 200.1447466
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615817581_s1an2sgrq",
  "timestamp": "2025-10-04T22:10:17.581Z",
  "message": "Unknown column 'booking_number' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.insert (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:308:21)\n    at async model.save (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:2490:35)\n    at async Booking.create (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1362:12)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:266:21",
  "name": "SequelizeDatabaseError",
  "sql": "INSERT INTO `bookings` (`id`,`booking_number`,`customer_name`,`customer_phone`,`customer_email`,`branch_id`,`table_id`,`booking_date`,`booking_time`,`status`,`total_price`,`final_amount`,`payment_status`,`notes`,`special_requests`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);",
  "parameters": [
    "BK1759615817578",
    "mahmoud SABER MAHMOUD BAHNSI KHAMIS",
    "01028454790",
    "mido10sb@gmail.com",
    2,
    1,
    "2025-10-07",
    "08:00",
    "confirmed",
    0,
    0,
    "unpaid",
    "",
    "[{\"id\":5,\"name\":\"فحص البطارية\",\"category\":\"عام\",\"duration\":15,\"price\":\"250.00\",\"priority\":\"standard\"}]",
    "2025-10-04 22:10:17",
    "2025-10-04 22:10:17"
  ],
  "context": {
    "endpoint": "POST /api/v1/bookings",
    "requestBody": {
      "customerName": "mahmoud SABER MAHMOUD BAHNSI KHAMIS",
      "customerPhone": "01028454790",
      "customerEmail": "mido10sb@gmail.com",
      "branchId": 2,
      "tableId": 1,
      "date": "2025-10-07",
      "time": "08:00",
      "services": [
        {
          "id": 5,
          "name": "فحص البطارية",
          "category": "عام",
          "duration": 15,
          "price": "250.00",
          "priority": "standard"
        }
      ],
      "notes": ""
    },
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "content-length": "320",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "content-type": "application/json",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36"
  },
  "additionalInfo": {
    "operation": "create_booking",
    "timestamp": "2025-10-04T22:10:17.581Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122564608,
      "heapTotal": 37863424,
      "heapUsed": 33807208,
      "external": 2368281,
      "arrayBuffers": 53302
    },
    "uptime": 201.7331995
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615817929_lq50qwj4s",
  "timestamp": "2025-10-04T22:10:17.929Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:17.929Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122572800,
      "heapTotal": 37863424,
      "heapUsed": 34361032,
      "external": 2365233,
      "arrayBuffers": 50254
    },
    "uptime": 202.0813629
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615818552_8p84iyljp",
  "timestamp": "2025-10-04T22:10:18.552Z",
  "message": "Unknown column 'booking_number' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.insert (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:308:21)\n    at async model.save (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:2490:35)\n    at async Booking.create (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1362:12)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:266:21",
  "name": "SequelizeDatabaseError",
  "sql": "INSERT INTO `bookings` (`id`,`booking_number`,`customer_name`,`customer_phone`,`customer_email`,`branch_id`,`table_id`,`booking_date`,`booking_time`,`status`,`total_price`,`final_amount`,`payment_status`,`notes`,`special_requests`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);",
  "parameters": [
    "BK1759615818543",
    "mahmoud SABER MAHMOUD BAHNSI KHAMIS",
    "01028454790",
    "mido10sb@gmail.com",
    2,
    1,
    "2025-10-07",
    "08:00",
    "confirmed",
    0,
    0,
    "unpaid",
    "",
    "[{\"id\":5,\"name\":\"فحص البطارية\",\"category\":\"عام\",\"duration\":15,\"price\":\"250.00\",\"priority\":\"standard\"}]",
    "2025-10-04 22:10:18",
    "2025-10-04 22:10:18"
  ],
  "context": {
    "endpoint": "POST /api/v1/bookings",
    "requestBody": {
      "customerName": "mahmoud SABER MAHMOUD BAHNSI KHAMIS",
      "customerPhone": "01028454790",
      "customerEmail": "mido10sb@gmail.com",
      "branchId": 2,
      "tableId": 1,
      "date": "2025-10-07",
      "time": "08:00",
      "services": [
        {
          "id": 5,
          "name": "فحص البطارية",
          "category": "عام",
          "duration": 15,
          "price": "250.00",
          "priority": "standard"
        }
      ],
      "notes": ""
    },
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "content-length": "320",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "content-type": "application/json",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36"
  },
  "additionalInfo": {
    "operation": "create_booking",
    "timestamp": "2025-10-04T22:10:18.552Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121245696,
      "heapTotal": 39698432,
      "heapUsed": 34987264,
      "external": 2378166,
      "arrayBuffers": 63187
    },
    "uptime": 202.7045475
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615819157_9293h270i",
  "timestamp": "2025-10-04T22:10:19.157Z",
  "message": "Unknown column 'Booking.booking_number' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:19.157Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121253888,
      "heapTotal": 38649856,
      "heapUsed": 35391968,
      "external": 2382974,
      "arrayBuffers": 67995
    },
    "uptime": 203.3090084
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615820696_qyjq8930o",
  "timestamp": "2025-10-04T22:10:20.696Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:20.696Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121995264,
      "heapTotal": 39436288,
      "heapUsed": 35667032,
      "external": 2383124,
      "arrayBuffers": 68145
    },
    "uptime": 204.8478367
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615826599_xhi8c4nn5",
  "timestamp": "2025-10-04T22:10:26.599Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:26.599Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121262080,
      "heapTotal": 40747008,
      "heapUsed": 35362576,
      "external": 2390119,
      "arrayBuffers": 75140
    },
    "uptime": 210.7512655
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615827675_yq2edzmun",
  "timestamp": "2025-10-04T22:10:27.675Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:27.674Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121262080,
      "heapTotal": 40747008,
      "heapUsed": 35792760,
      "external": 2390280,
      "arrayBuffers": 75301
    },
    "uptime": 211.826602
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615829222_kuld9ux4j",
  "timestamp": "2025-10-04T22:10:29.222Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:29.221Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121262080,
      "heapTotal": 39698432,
      "heapUsed": 35412904,
      "external": 2390119,
      "arrayBuffers": 75140
    },
    "uptime": 213.3735982
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615845295_af08sfp5h",
  "timestamp": "2025-10-04T22:10:45.295Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:45.295Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122568704,
      "heapTotal": 42057728,
      "heapUsed": 36807352,
      "external": 2390597,
      "arrayBuffers": 75618
    },
    "uptime": 229.4474929
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615846366_ztnzkfnc2",
  "timestamp": "2025-10-04T22:10:46.366Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:46.366Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122580992,
      "heapTotal": 41271296,
      "heapUsed": 36806808,
      "external": 2398690,
      "arrayBuffers": 83711
    },
    "uptime": 230.5180618
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615847653_imnkr4hnb",
  "timestamp": "2025-10-04T22:10:47.653Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:47.653Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122593280,
      "heapTotal": 41271296,
      "heapUsed": 37259400,
      "external": 2398851,
      "arrayBuffers": 83872
    },
    "uptime": 231.8052585
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615854938_bxbldz4p3",
  "timestamp": "2025-10-04T22:10:54.938Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:54.938Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122601472,
      "heapTotal": 42319872,
      "heapUsed": 36905760,
      "external": 2398690,
      "arrayBuffers": 83711
    },
    "uptime": 239.0899765
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615855936_k5hzcw8p6",
  "timestamp": "2025-10-04T22:10:55.936Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:55.936Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122601472,
      "heapTotal": 42319872,
      "heapUsed": 37261504,
      "external": 2407027,
      "arrayBuffers": 92048
    },
    "uptime": 240.0878772
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615857233_ch7gbk9se",
  "timestamp": "2025-10-04T22:10:57.233Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:10:57.233Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122609664,
      "heapTotal": 42319872,
      "heapUsed": 37619528,
      "external": 2407172,
      "arrayBuffers": 92193
    },
    "uptime": 241.3840759
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615894163_dyf1c7y3x",
  "timestamp": "2025-10-04T22:11:34.163Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:11:34.163Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122617856,
      "heapTotal": 41795584,
      "heapUsed": 38354544,
      "external": 2407838,
      "arrayBuffers": 92859
    },
    "uptime": 278.3137955
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615896207_lqoz7mc3o",
  "timestamp": "2025-10-04T22:11:36.207Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:11:36.207Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122626048,
      "heapTotal": 42582016,
      "heapUsed": 38201392,
      "external": 2407261,
      "arrayBuffers": 92282
    },
    "uptime": 280.3579022
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615898396_fs9fjvno5",
  "timestamp": "2025-10-04T22:11:38.396Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:11:38.396Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122630144,
      "heapTotal": 42582016,
      "heapUsed": 38673200,
      "external": 2415614,
      "arrayBuffers": 100635
    },
    "uptime": 282.5471322
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615958953_097082a4b",
  "timestamp": "2025-10-04T22:12:38.953Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:12:38.953Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 120119296,
      "heapTotal": 46514176,
      "heapUsed": 32102976,
      "external": 2389838,
      "arrayBuffers": 74859
    },
    "uptime": 343.1047203
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615960036_kr4o2sljy",
  "timestamp": "2025-10-04T22:12:40.036Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:12:40.036Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121503744,
      "heapTotal": 46514176,
      "heapUsed": 32457032,
      "external": 2389983,
      "arrayBuffers": 75004
    },
    "uptime": 344.1873082
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615962018_dyoc5wsbn",
  "timestamp": "2025-10-04T22:12:42.018Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:12:42.018Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 120365056,
      "heapTotal": 43368448,
      "heapUsed": 31230168,
      "external": 2374489,
      "arrayBuffers": 59510
    },
    "uptime": 346.1692848
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615982138_8uapminmc",
  "timestamp": "2025-10-04T22:13:02.138Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:02.138Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 120696832,
      "heapTotal": 45203456,
      "heapUsed": 33521192,
      "external": 2391649,
      "arrayBuffers": 76670
    },
    "uptime": 366.2900091
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615983272_v5poqnqtp",
  "timestamp": "2025-10-04T22:13:03.272Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:03.272Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 120696832,
      "heapTotal": 46252032,
      "heapUsed": 33336360,
      "external": 2391248,
      "arrayBuffers": 76269
    },
    "uptime": 367.4234637
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759615984406_u1sfixadk",
  "timestamp": "2025-10-04T22:13:04.406Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:04.406Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 120696832,
      "heapTotal": 46252032,
      "heapUsed": 33694992,
      "external": 2399585,
      "arrayBuffers": 84606
    },
    "uptime": 368.5581975
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616004544_du0ongjrs",
  "timestamp": "2025-10-04T22:13:24.544Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:24.544Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 123666432,
      "heapTotal": 49135616,
      "heapUsed": 38846352,
      "external": 2428328,
      "arrayBuffers": 113349
    },
    "uptime": 388.6946654
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616005977_825680qno",
  "timestamp": "2025-10-04T22:13:25.977Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:25.977Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121143296,
      "heapTotal": 41533440,
      "heapUsed": 30074368,
      "external": 2349120,
      "arrayBuffers": 34141
    },
    "uptime": 390.128148
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616007090_8a5gw66pj",
  "timestamp": "2025-10-04T22:13:27.090Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:27.090Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121298944,
      "heapTotal": 41533440,
      "heapUsed": 30430240,
      "external": 2349265,
      "arrayBuffers": 34286
    },
    "uptime": 391.2409545
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616034079_hlsc4g4n6",
  "timestamp": "2025-10-04T22:13:54.079Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:54.079Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 121397248,
      "heapTotal": 41795584,
      "heapUsed": 31051296,
      "external": 2358252,
      "arrayBuffers": 43273
    },
    "uptime": 418.2296433
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616034908_hp79v0q8z",
  "timestamp": "2025-10-04T22:13:54.908Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:54.908Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 122302464,
      "heapTotal": 43106304,
      "heapUsed": 31082136,
      "external": 2357675,
      "arrayBuffers": 42696
    },
    "uptime": 419.0588749
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616036565_bz45fuvo4",
  "timestamp": "2025-10-04T22:13:56.565Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:13:56.565Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 123596800,
      "heapTotal": 43106304,
      "heapUsed": 31463080,
      "external": 2357820,
      "arrayBuffers": 42841
    },
    "uptime": 420.7165508
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616040737_1tvgip2me",
  "timestamp": "2025-10-04T22:14:00.737Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:14:00.737Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 123650048,
      "heapTotal": 42844160,
      "heapUsed": 32552512,
      "external": 2374059,
      "arrayBuffers": 59080
    },
    "uptime": 424.8876621
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616041598_07s41khma",
  "timestamp": "2025-10-04T22:14:01.598Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:14:01.598Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 123658240,
      "heapTotal": 47038464,
      "heapUsed": 33923152,
      "external": 2446202,
      "arrayBuffers": 131223
    },
    "uptime": 425.7489456
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616043030_ulirhoruu",
  "timestamp": "2025-10-04T22:14:03.030Z",
  "message": "Unknown column 'Booking.table_id' in 'on clause'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.rawSelect (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:434:18)\n    at async Booking.aggregate (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1277:19)\n    at async Booking.count (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1306:20)\n    at async Promise.all (index 0)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT count(`Booking`.`id`) AS `count` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id`;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:14:03.030Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 123748352,
      "heapTotal": 47038464,
      "heapUsed": 34280136,
      "external": 2446347,
      "arrayBuffers": 131368
    },
    "uptime": 427.1809026
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616315060_0a1cq331b",
  "timestamp": "2025-10-04T22:18:35.059Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:18:35.059Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 126656512,
      "heapTotal": 82358272,
      "heapUsed": 40579392,
      "external": 2567499,
      "arrayBuffers": 249664
    },
    "uptime": 4.7088372
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616315551_0jlsj7268",
  "timestamp": "2025-10-04T22:18:35.551Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:18:35.551Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 126697472,
      "heapTotal": 82358272,
      "heapUsed": 41034528,
      "external": 2567644,
      "arrayBuffers": 249769
    },
    "uptime": 5.2004286
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616316234_isvnpwtja",
  "timestamp": "2025-10-04T22:18:36.234Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:18:36.234Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 126754816,
      "heapTotal": 82358272,
      "heapUsed": 41527256,
      "external": 2576029,
      "arrayBuffers": 258154
    },
    "uptime": 5.8834877
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616344427_gpw6e5miy",
  "timestamp": "2025-10-04T22:19:04.427Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:19:04.427Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 80592896,
      "heapTotal": 32288768,
      "heapUsed": 30207256,
      "external": 2351822,
      "arrayBuffers": 33947
    },
    "uptime": 34.0763297
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616350109_bw05h6utf",
  "timestamp": "2025-10-04T22:19:10.109Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::ffff:127.0.0.1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:19:10.109Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 124198912,
      "heapTotal": 81833984,
      "heapUsed": 29363992,
      "external": 2352061,
      "arrayBuffers": 34226
    },
    "uptime": 3.4595198
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616403720_f0wc1sdhg",
  "timestamp": "2025-10-04T22:20:03.720Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::ffff:127.0.0.1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:20:03.720Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 127455232,
      "heapTotal": 82620416,
      "heapUsed": 29518496,
      "external": 2655449,
      "arrayBuffers": 34873
    },
    "uptime": 5.9743264
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616404661_1hywcsfgj",
  "timestamp": "2025-10-04T22:20:04.661Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::ffff:127.0.0.1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:20:04.661Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 127397888,
      "heapTotal": 82882560,
      "heapUsed": 33403216,
      "external": 2425585,
      "arrayBuffers": 107710
    },
    "uptime": 6.9152312
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616405935_0psve7lee",
  "timestamp": "2025-10-04T22:20:05.935Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::ffff:127.0.0.1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:20:05.935Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 127426560,
      "heapTotal": 82882560,
      "heapUsed": 33837824,
      "external": 2425718,
      "arrayBuffers": 107843
    },
    "uptime": 8.1893976
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616551723_27asp55dd",
  "timestamp": "2025-10-04T22:22:31.723Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:31.723Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 78798848,
      "heapTotal": 31764480,
      "heapUsed": 28600080,
      "external": 2351581,
      "arrayBuffers": 33746
    },
    "uptime": 70.5756345
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616553116_fbuo4mthb",
  "timestamp": "2025-10-04T22:22:33.116Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:33.116Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 78950400,
      "heapTotal": 31764480,
      "heapUsed": 29109888,
      "external": 2351754,
      "arrayBuffers": 33879
    },
    "uptime": 71.968492
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616561171_hnqmi3wsi",
  "timestamp": "2025-10-04T22:22:41.171Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:41.171Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79400960,
      "heapTotal": 30978048,
      "heapUsed": 29281000,
      "external": 2359962,
      "arrayBuffers": 42087
    },
    "uptime": 80.0241034
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616567156_wpgq4kuhi",
  "timestamp": "2025-10-04T22:22:47.156Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:47.156Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79409152,
      "heapTotal": 30978048,
      "heapUsed": 28942216,
      "external": 2360095,
      "arrayBuffers": 42220
    },
    "uptime": 86.0084501
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616567624_qqkn1ymb1",
  "timestamp": "2025-10-04T22:22:47.624Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:47.623Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79388672,
      "heapTotal": 30978048,
      "heapUsed": 29391792,
      "external": 2360063,
      "arrayBuffers": 42188
    },
    "uptime": 86.4762088
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616568957_f95rkhcry",
  "timestamp": "2025-10-04T22:22:48.957Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:48.957Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79540224,
      "heapTotal": 32550912,
      "heapUsed": 29085776,
      "external": 2359930,
      "arrayBuffers": 42055
    },
    "uptime": 87.8097156
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616572803_5mkrwp478",
  "timestamp": "2025-10-04T22:22:52.803Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:52.803Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79585280,
      "heapTotal": 32550912,
      "heapUsed": 29770304,
      "external": 2360095,
      "arrayBuffers": 42220
    },
    "uptime": 91.6558408
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616573590_56jzyvugs",
  "timestamp": "2025-10-04T22:22:53.590Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:53.590Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79753216,
      "heapTotal": 31502336,
      "heapUsed": 29485416,
      "external": 2368078,
      "arrayBuffers": 50203
    },
    "uptime": 92.4427032
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616574704_vc5vtz2rc",
  "timestamp": "2025-10-04T22:22:54.704Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:22:54.704Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79769600,
      "heapTotal": 31502336,
      "heapUsed": 29911664,
      "external": 2368271,
      "arrayBuffers": 50396
    },
    "uptime": 93.5567614
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616583061_wj1mrtznp",
  "timestamp": "2025-10-04T22:23:03.061Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:03.061Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 79970304,
      "heapTotal": 31502336,
      "heapUsed": 29949056,
      "external": 2368170,
      "arrayBuffers": 50295
    },
    "uptime": 101.9137205
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616583950_bs64wkvul",
  "timestamp": "2025-10-04T22:23:03.950Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:03.950Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 80015360,
      "heapTotal": 31764480,
      "heapUsed": 29600128,
      "external": 2376314,
      "arrayBuffers": 58439
    },
    "uptime": 102.8024413
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616585300_be05hra41",
  "timestamp": "2025-10-04T22:23:05.300Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:05.300Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 80064512,
      "heapTotal": 31764480,
      "heapUsed": 29988528,
      "external": 2376447,
      "arrayBuffers": 58572
    },
    "uptime": 104.1531465
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616593058_q9vp5yoov",
  "timestamp": "2025-10-04T22:23:13.058Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:13.058Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 80244736,
      "heapTotal": 31764480,
      "heapUsed": 29676560,
      "external": 2384506,
      "arrayBuffers": 66631
    },
    "uptime": 111.910306
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616593720_dnrn5100n",
  "timestamp": "2025-10-04T22:23:13.720Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:13.720Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 80248832,
      "heapTotal": 31764480,
      "heapUsed": 30059560,
      "external": 2384579,
      "arrayBuffers": 66704
    },
    "uptime": 112.5731067
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616594938_xhoqtv39u",
  "timestamp": "2025-10-04T22:23:14.938Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:14.938Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 80314368,
      "heapTotal": 31764480,
      "heapUsed": 29681280,
      "external": 2376314,
      "arrayBuffers": 58439
    },
    "uptime": 113.7904229
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616622770_htf1yuk2i",
  "timestamp": "2025-10-04T22:23:42.770Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:42.770Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 81489920,
      "heapTotal": 34123776,
      "heapUsed": 31200232,
      "external": 2385478,
      "arrayBuffers": 67603
    },
    "uptime": 141.6225537
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616624308_xihxo6kb9",
  "timestamp": "2025-10-04T22:23:44.308Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:44.308Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 81752064,
      "heapTotal": 33337344,
      "heapUsed": 30956304,
      "external": 2384813,
      "arrayBuffers": 66938
    },
    "uptime": 143.1608433
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616625824_t78bw0ffb",
  "timestamp": "2025-10-04T22:23:45.824Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:23:45.824Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 81752064,
      "heapTotal": 33337344,
      "heapUsed": 31341280,
      "external": 2393138,
      "arrayBuffers": 75263
    },
    "uptime": 144.6762595
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616667747_dawiixm1n",
  "timestamp": "2025-10-04T22:24:27.747Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:24:27.747Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 82554880,
      "heapTotal": 34123776,
      "heapUsed": 32402640,
      "external": 2385785,
      "arrayBuffers": 67910
    },
    "uptime": 186.5997627
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616669779_7e84vnucv",
  "timestamp": "2025-10-04T22:24:29.779Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:24:29.779Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 82780160,
      "heapTotal": 35434496,
      "heapUsed": 32567136,
      "external": 2393328,
      "arrayBuffers": 75453
    },
    "uptime": 188.6312826
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616671603_z3q4xtlv1",
  "timestamp": "2025-10-04T22:24:31.603Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:24:31.603Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 83177472,
      "heapTotal": 34648064,
      "heapUsed": 32343568,
      "external": 2393369,
      "arrayBuffers": 75494
    },
    "uptime": 190.4557347
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616835489_w873ivr6r",
  "timestamp": "2025-10-04T22:27:15.489Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:15.489Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 86265856,
      "heapTotal": 38318080,
      "heapUsed": 32672024,
      "external": 2352191,
      "arrayBuffers": 34316
    },
    "uptime": 354.3421005
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616836643_6euevckzc",
  "timestamp": "2025-10-04T22:27:16.643Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:16.643Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 87146496,
      "heapTotal": 40153088,
      "heapUsed": 33353840,
      "external": 2377862,
      "arrayBuffers": 59987
    },
    "uptime": 355.496453
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616838487_2ebi590j1",
  "timestamp": "2025-10-04T22:27:18.487Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:18.487Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 87695360,
      "heapTotal": 39104512,
      "heapUsed": 32928792,
      "external": 2369192,
      "arrayBuffers": 51317
    },
    "uptime": 357.3400871
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616856154_ocw5ajwlu",
  "timestamp": "2025-10-04T22:27:36.154Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:36.154Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 87552000,
      "heapTotal": 40415232,
      "heapUsed": 34328256,
      "external": 2369317,
      "arrayBuffers": 51442
    },
    "uptime": 375.0071855
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616856844_n36crtzio",
  "timestamp": "2025-10-04T22:27:36.844Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:36.844Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 88158208,
      "heapTotal": 39890944,
      "heapUsed": 34425456,
      "external": 2377804,
      "arrayBuffers": 59929
    },
    "uptime": 375.6970196
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616858141_on5qbd021",
  "timestamp": "2025-10-04T22:27:38.141Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:38.141Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 88158208,
      "heapTotal": 39890944,
      "heapUsed": 34810896,
      "external": 2377937,
      "arrayBuffers": 60062
    },
    "uptime": 376.9941802
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616866797_h653wz051",
  "timestamp": "2025-10-04T22:27:46.797Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Booking.findOne (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1240:12)\n    at async Booking.findByPk (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1221:12)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:279:28",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` WHERE `Booking`.`id` = 1;",
  "parameters": {},
  "context": {
    "endpoint": "POST /api/v1/bookings",
    "requestBody": {
      "customerName": "mahmoud SABER MAHMOUD BAHNSI KHAMIS",
      "customerPhone": "01028454790",
      "customerEmail": "mido10sb@gmail.com",
      "branchId": 2,
      "tableId": 1,
      "date": "2025-10-06",
      "time": "08:30",
      "services": [
        {
          "id": 1,
          "name": "تغيير الزيت",
          "category": "عام",
          "duration": 30,
          "price": "150.00",
          "priority": "standard"
        }
      ],
      "notes": ""
    },
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "content-length": "318",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "content-type": "application/json",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36"
  },
  "additionalInfo": {
    "operation": "create_booking",
    "timestamp": "2025-10-04T22:27:46.797Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 88412160,
      "heapTotal": 39890944,
      "heapUsed": 34877552,
      "external": 2386392,
      "arrayBuffers": 68517
    },
    "uptime": 385.6496066
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616868750_7slz6a79x",
  "timestamp": "2025-10-04T22:27:48.750Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:48.750Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 88420352,
      "heapTotal": 39890944,
      "heapUsed": 35402120,
      "external": 2378643,
      "arrayBuffers": 60768
    },
    "uptime": 387.6026159
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616869209_9wzn8cmzl",
  "timestamp": "2025-10-04T22:27:49.209Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:49.209Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 88846336,
      "heapTotal": 40153088,
      "heapUsed": 35540408,
      "external": 2386470,
      "arrayBuffers": 68595
    },
    "uptime": 388.0620583
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616869729_haelzw3in",
  "timestamp": "2025-10-04T22:27:49.729Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:27:49.729Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 88879104,
      "heapTotal": 40153088,
      "heapUsed": 35928696,
      "external": 2386663,
      "arrayBuffers": 68788
    },
    "uptime": 388.5814435
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616896955_bop7fpn23",
  "timestamp": "2025-10-04T22:28:16.955Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:28:16.955Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 89415680,
      "heapTotal": 40677376,
      "heapUsed": 36745904,
      "external": 2395258,
      "arrayBuffers": 77383
    },
    "uptime": 415.8077325
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616897438_0l186jrk6",
  "timestamp": "2025-10-04T22:28:17.438Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:28:17.438Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 89939968,
      "heapTotal": 41201664,
      "heapUsed": 36885920,
      "external": 2403171,
      "arrayBuffers": 85296
    },
    "uptime": 416.2907507
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616898128_kvxn9z4o8",
  "timestamp": "2025-10-04T22:28:18.128Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:28:18.128Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 89939968,
      "heapTotal": 41201664,
      "heapUsed": 37265176,
      "external": 2403304,
      "arrayBuffers": 85429
    },
    "uptime": 416.9808941
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616963679_2c6mcqtab",
  "timestamp": "2025-10-04T22:29:23.679Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:29:23.679Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91185152,
      "heapTotal": 43560960,
      "heapUsed": 38556192,
      "external": 2411662,
      "arrayBuffers": 93787
    },
    "uptime": 482.5326145
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616965687_rt5qoaf01",
  "timestamp": "2025-10-04T22:29:25.687Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:29:25.687Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91324416,
      "heapTotal": 38055936,
      "heapUsed": 29265936,
      "external": 2343630,
      "arrayBuffers": 25755
    },
    "uptime": 484.5407325
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616967008_wpf2iix7l",
  "timestamp": "2025-10-04T22:29:27.008Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:29:27.008Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 90750976,
      "heapTotal": 38055936,
      "heapUsed": 29663976,
      "external": 2351955,
      "arrayBuffers": 34080
    },
    "uptime": 485.861615
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616968961_lt2d3fblt",
  "timestamp": "2025-10-04T22:29:28.961Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:29:28.961Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 90861568,
      "heapTotal": 38055936,
      "heapUsed": 29319712,
      "external": 2351822,
      "arrayBuffers": 33947
    },
    "uptime": 487.8140993
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616970018_zpemmjkov",
  "timestamp": "2025-10-04T22:29:30.018Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:29:30.018Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91004928,
      "heapTotal": 38055936,
      "heapUsed": 29132936,
      "external": 2360103,
      "arrayBuffers": 33871
    },
    "uptime": 488.8718083
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759616971537_14ikpk8qu",
  "timestamp": "2025-10-04T22:29:31.537Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:29:31.537Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 90980352,
      "heapTotal": 38055936,
      "heapUsed": 29528560,
      "external": 2351939,
      "arrayBuffers": 34064
    },
    "uptime": 490.3903881
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617033258_ewjnemglg",
  "timestamp": "2025-10-04T22:30:33.258Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:30:33.258Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91328512,
      "heapTotal": 41201664,
      "heapUsed": 32258168,
      "external": 2360896,
      "arrayBuffers": 42313
    },
    "uptime": 552.1122485
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617034182_nexkw7g39",
  "timestamp": "2025-10-04T22:30:34.182Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:30:34.182Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91680768,
      "heapTotal": 44085248,
      "heapUsed": 32399288,
      "external": 2360680,
      "arrayBuffers": 42805
    },
    "uptime": 553.0366377
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617034824_5br2h0cmu",
  "timestamp": "2025-10-04T22:30:34.824Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:30:34.824Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91418624,
      "heapTotal": 44085248,
      "heapUsed": 32787504,
      "external": 2360813,
      "arrayBuffers": 42938
    },
    "uptime": 553.6782268
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617038156_tppq3evh7",
  "timestamp": "2025-10-04T22:30:38.156Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:30:38.156Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91607040,
      "heapTotal": 44085248,
      "heapUsed": 33195816,
      "external": 2369078,
      "arrayBuffers": 51203
    },
    "uptime": 557.0106972
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617038930_rtdw5msn1",
  "timestamp": "2025-10-04T22:30:38.930Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:30:38.930Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91492352,
      "heapTotal": 44085248,
      "heapUsed": 33590264,
      "external": 2369211,
      "arrayBuffers": 51336
    },
    "uptime": 557.7843741
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617039596_tpmfwfn23",
  "timestamp": "2025-10-04T22:30:39.596Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:30:39.596Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91553792,
      "heapTotal": 44085248,
      "heapUsed": 33972552,
      "external": 2369404,
      "arrayBuffers": 51529
    },
    "uptime": 558.4501467
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617144670_nz13gp19g",
  "timestamp": "2025-10-04T22:32:24.670Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:24.670Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91348992,
      "heapTotal": 42774528,
      "heapUsed": 33912816,
      "external": 2369828,
      "arrayBuffers": 51953
    },
    "uptime": 663.5227881
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617145652_6hccr35bh",
  "timestamp": "2025-10-04T22:32:25.652Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:25.652Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91541504,
      "heapTotal": 41988096,
      "heapUsed": 33862192,
      "external": 2369961,
      "arrayBuffers": 51304
    },
    "uptime": 664.5050777
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617152472_fi2bis4xj",
  "timestamp": "2025-10-04T22:32:32.472Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:32.472Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91512832,
      "heapTotal": 41988096,
      "heapUsed": 34276472,
      "external": 2377444,
      "arrayBuffers": 59569
    },
    "uptime": 671.3254247
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617160683_mcarn2rl9",
  "timestamp": "2025-10-04T22:32:40.683Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:40.683Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91394048,
      "heapTotal": 43036672,
      "heapUsed": 34439824,
      "external": 2369227,
      "arrayBuffers": 51352
    },
    "uptime": 679.5360807
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617162786_1z4uz93ar",
  "timestamp": "2025-10-04T22:32:42.786Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:42.786Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91398144,
      "heapTotal": 41988096,
      "heapUsed": 34088688,
      "external": 2369119,
      "arrayBuffers": 51244
    },
    "uptime": 681.6388498
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617164679_0ok4ewshh",
  "timestamp": "2025-10-04T22:32:44.679Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:44.679Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91398144,
      "heapTotal": 41988096,
      "heapUsed": 34465736,
      "external": 2377444,
      "arrayBuffers": 59569
    },
    "uptime": 683.5319441
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617165926_7g9r6rh8r",
  "timestamp": "2025-10-04T22:32:45.926Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:45.926Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91426816,
      "heapTotal": 41988096,
      "heapUsed": 34180696,
      "external": 2377311,
      "arrayBuffers": 59436
    },
    "uptime": 684.7790486
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617166428_ziev936qm",
  "timestamp": "2025-10-04T22:32:46.428Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:46.428Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91676672,
      "heapTotal": 41988096,
      "heapUsed": 34563808,
      "external": 2385696,
      "arrayBuffers": 67821
    },
    "uptime": 685.2811778
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617167417_v8sudd8cl",
  "timestamp": "2025-10-04T22:32:47.417Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:47.417Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91734016,
      "heapTotal": 41988096,
      "heapUsed": 34248160,
      "external": 2377311,
      "arrayBuffers": 59436
    },
    "uptime": 686.2701414
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617171940_fexy8kdqe",
  "timestamp": "2025-10-04T22:32:51.940Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:51.940Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91734016,
      "heapTotal": 41988096,
      "heapUsed": 34660640,
      "external": 2377444,
      "arrayBuffers": 59569
    },
    "uptime": 690.7937148
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617172690_3txmjxrpd",
  "timestamp": "2025-10-04T22:32:52.690Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:52.690Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91402240,
      "heapTotal": 41988096,
      "heapUsed": 34288712,
      "external": 2377311,
      "arrayBuffers": 59436
    },
    "uptime": 691.5433003
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617173794_qawgh1tz2",
  "timestamp": "2025-10-04T22:32:53.794Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:32:53.794Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91406336,
      "heapTotal": 41988096,
      "heapUsed": 34791072,
      "external": 2377520,
      "arrayBuffers": 59645
    },
    "uptime": 692.6477904
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617182219_qpxhay0qt",
  "timestamp": "2025-10-04T22:33:02.219Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:33:02.219Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91652096,
      "heapTotal": 43036672,
      "heapUsed": 35208816,
      "external": 2450133,
      "arrayBuffers": 132258
    },
    "uptime": 701.0726334
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617183503_glrigiq8t",
  "timestamp": "2025-10-04T22:33:03.503Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:33:03.503Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91422720,
      "heapTotal": 41988096,
      "heapUsed": 35134992,
      "external": 2421360,
      "arrayBuffers": 103485
    },
    "uptime": 702.3565302
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617184490_8pwcmkb20",
  "timestamp": "2025-10-04T22:33:04.490Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:33:04.490Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91426816,
      "heapTotal": 41988096,
      "heapUsed": 34822880,
      "external": 2385503,
      "arrayBuffers": 67628
    },
    "uptime": 703.3429276
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617188294_6c6o827f5",
  "timestamp": "2025-10-04T22:33:08.294Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:33:08.294Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91529216,
      "heapTotal": 41988096,
      "heapUsed": 35057928,
      "external": 2393755,
      "arrayBuffers": 75880
    },
    "uptime": 707.1474091
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617189570_1wjof4wfk",
  "timestamp": "2025-10-04T22:33:09.570Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:33:09.570Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 93118464,
      "heapTotal": 41988096,
      "heapUsed": 35693856,
      "external": 2448214,
      "arrayBuffers": 130339
    },
    "uptime": 708.4237836
  }
}
----------------------------------------------------------------------------------------------------
{
  "errorId": "ERR_1759617190650_y3033x5jp",
  "timestamp": "2025-10-04T22:33:10.650Z",
  "message": "Unknown column 'branch.name' in 'field list'",
  "stack": "Error\n    at Query.run (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\mysql\\query.js:52:25)\n    at E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\sequelize.js:315:28\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MySQLQueryInterface.select (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\dialects\\abstract\\query-interface.js:407:12)\n    at async Booking.findAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1140:21)\n    at async Promise.all (index 1)\n    at async Booking.findAndCountAll (E:\\مشاريع 2025\\MetaCoffe\\backend\\node_modules\\sequelize\\lib\\model.js:1322:27)\n    at async E:\\مشاريع 2025\\MetaCoffe\\backend\\routes\\bookingRoutes.js:339:20",
  "name": "SequelizeDatabaseError",
  "sql": "SELECT `Booking`.`id`, `Booking`.`booking_number` AS `bookingNumber`, `Booking`.`customer_name` AS `customerName`, `Booking`.`customer_phone` AS `customerPhone`, `Booking`.`customer_email` AS `customerEmail`, `Booking`.`branch_id` AS `branchId`, `Booking`.`table_id` AS `tableId`, `Booking`.`booking_date` AS `bookingDate`, `Booking`.`booking_time` AS `bookingTime`, `Booking`.`status`, `Booking`.`total_price` AS `totalPrice`, `Booking`.`final_amount` AS `finalAmount`, `Booking`.`payment_status` AS `paymentStatus`, `Booking`.`notes`, `Booking`.`special_requests` AS `specialRequests`, `Booking`.`created_at` AS `createdAt`, `Booking`.`updated_at` AS `updatedAt`, `branch`.`id` AS `branch.id`, `branch`.`arabicName` AS `branch.arabicName`, `branch`.`englishName` AS `branch.englishName`, `branch`.`name` AS `branch.name`, `table`.`id` AS `table.id`, `table`.`name` AS `table.name`, `table`.`tableNumber` AS `table.tableNumber`, `table`.`capacity` AS `table.capacity` FROM `bookings` AS `Booking` LEFT OUTER JOIN `Branches` AS `branch` ON `Booking`.`branch_id` = `branch`.`id` LEFT OUTER JOIN `TABLES` AS `table` ON `Booking`.`table_id` = `table`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;",
  "parameters": {},
  "context": {
    "endpoint": "GET /api/v1/bookings",
    "query": {},
    "headers": {
      "host": "localhost:4000",
      "connection": "keep-alive",
      "sec-ch-ua-platform": "\"Windows\"",
      "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNzU5NjE0OTg1LCJleHAiOjE3NjczOTA5ODV9.Qbnd-HdM61-iNbC8Ciwfzvlh9vES1lSYo0HU6m4gGlA",
      "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
      "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",
      "sec-ch-ua-mobile": "?0",
      "accept": "*/*",
      "origin": "http://localhost:8080",
      "sec-fetch-site": "same-site",
      "sec-fetch-mode": "cors",
      "sec-fetch-dest": "empty",
      "referer": "http://localhost:8080/",
      "accept-encoding": "gzip, deflate, br, zstd",
      "accept-language": "en-US,en;q=0.9,ar;q=0.8"
    },
    "ip": "::1"
  },
  "additionalInfo": {
    "operation": "fetch_bookings",
    "timestamp": "2025-10-04T22:33:10.650Z"
  },
  "systemInfo": {
    "nodeVersion": "v22.13.1",
    "platform": "win32",
    "arch": "x64",
    "memoryUsage": {
      "rss": 91541504,
      "heapTotal": 41988096,
      "heapUsed": 35216832,
      "external": 2401887,
      "arrayBuffers": 84012
    },
    "uptime": 709.5033957
  }
}
----------------------------------------------------------------------------------------------------
