HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //proc/self/root/home/xedaptot/be.naniguide.com/database/userdb/open_logs.sql
CREATE TABLE `open_logs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `message_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ip_address` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `customer_id` int unsigned DEFAULT NULL,
  `tracking_log_id` int unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `open_logs_message_id_foreign` (`message_id`),
  KEY `open_logs_ip_address_index` (`ip_address`),
  KEY `open_logs_customer_id_foreign` (`customer_id`),
  KEY `open_logs_tracking_log_id_foreign` (`tracking_log_id`),
  CONSTRAINT `open_logs_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `open_logs_message_id_foreign` FOREIGN KEY (`message_id`) REFERENCES `tracking_logs` (`message_id`) ON DELETE CASCADE,
  CONSTRAINT `open_logs_tracking_log_id_foreign` FOREIGN KEY (`tracking_log_id`) REFERENCES `tracking_logs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=832 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci