-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 24 سبتمبر 2025 الساعة 07:10
-- إصدار الخادم: 10.4.27-MariaDB
-- PHP Version: 8.2.0

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `test`
--

-- --------------------------------------------------------

--
-- بنية الجدول `cache`
--

CREATE TABLE `cache` (
  `key` varchar(255) NOT NULL,
  `value` mediumtext NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `cache`
--

INSERT INTO `cache` (`key`, `value`, `expiration`) VALUES
('setting_maintenance_mode', 'b:0;', 1758692814),
('setting_seo_og_image', 's:27:\"/assets/images/og-image.png\";', 1758692871),
('setting_seo_site_description', 's:59:\"Professional license management system for digital products\";', 1758692871),
('setting_seo_site_title', 's:25:\"License Management System\";', 1758692871),
('setting_site_logo', 's:23:\"/assets/images/logo.png\";', 1758692871),
('setting_site_name', 's:25:\"License Management System\";', 1758692871);

-- --------------------------------------------------------

--
-- بنية الجدول `cache_locks`
--

CREATE TABLE `cache_locks` (
  `key` varchar(255) NOT NULL,
  `owner` varchar(255) NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `complete_settings`
--

CREATE TABLE `complete_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `customers`
--

CREATE TABLE `customers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `company` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `envato_username` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `email_templates`
--

CREATE TABLE `email_templates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `subject` varchar(255) NOT NULL,
  `body` text NOT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'user',
  `category` varchar(255) NOT NULL,
  `variables` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variables`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `email_templates`
--

INSERT INTO `email_templates` (`id`, `name`, `subject`, `body`, `type`, `category`, `variables`, `is_active`, `description`, `created_at`, `updated_at`) VALUES
(1, 'user_email_verification', 'Verify Your Email Address - {{site_name}}', '<h2>Verify Your Email Address</h2><p>Hello {{user_name}},</p><p>Thank you for registering with {{site_name}}! To complete your registration and activate your account, please verify your email address by clicking the button below:</p><div style=\"text-align: center; margin: 30px 0;\"><a href=\"{{verification_url}}\" class=\"email-button\">Verify Email Address</a></div><div class=\"highlight-box\"><h4>Important Information</h4><p>This verification link will expire on <strong>{{verification_expires}}</strong>.</p></div>', 'user', 'registration', '[\"verification_url\",\"verification_expires\",\"user_name\"]', 1, 'Email verification sent to new users after registration', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(2, 'user_password_reset', 'Reset Your Password - {{site_name}}', '<h2>Reset Your Password</h2><p>Hello {{user_name}},</p><p>We received a request to reset your password for your {{site_name}} account. Click the button below to reset your password:</p><div style=\"text-align: center; margin: 30px 0;\"><a href=\"{{reset_url}}\" class=\"email-button\">Reset Password</a></div>', 'user', 'registration', '[\"reset_url\",\"reset_expires\",\"user_name\"]', 1, 'Password reset email sent to users', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(3, 'user_welcome', 'Welcome to {{site_name}}!', '<h2>Welcome to {{site_name}}!</h2><p>Hello {{user_name}},</p><p>Welcome to {{site_name}}! We\'re excited to have you as part of our community. Your account was successfully created on {{registration_date}}.</p><div style=\"text-align: center; margin: 30px 0;\"><a href=\"{{site_url}}/dashboard\" class=\"email-button\">Go to Dashboard</a></div>', 'user', 'registration', '[\"user_name\",\"registration_date\",\"site_name\"]', 1, 'Welcome email sent to new users after successful registration', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(4, 'user_license_created', 'New License Created - {{product_name}}', '<h2>New License Created</h2><p>Hello {{user_name}},</p><p>Great news! A new license has been created for you. Here are the details:</p><table class=\"email-table\"><tr><th>Product</th><td>{{product_name}}</td></tr><tr><th>License Key</th><td style=\"font-family: monospace;\">{{license_key}}</td></tr><tr><th>Expires</th><td>{{expires_at}}</td></tr></table>', 'user', 'license', '[\"license_key\",\"product_name\",\"expires_at\",\"user_name\"]', 1, 'Notification sent when a new license is created for user', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(5, 'user_license_expiring', 'License Expiring Soon - {{product_name}}', '<h2>License Expiring Soon</h2><p>Hello {{user_name}},</p><p>Your license for <strong>{{product_name}}</strong> will expire in {{days_remaining}} days on {{expires_at}}.</p><div class=\"info-box warning\"><h4>Action Required</h4><p>To continue using this product without interruption, please renew your license before it expires.</p></div>', 'user', 'license', '[\"license_key\",\"product_name\",\"expires_at\",\"days_remaining\",\"user_name\"]', 1, 'Warning sent when license is about to expire', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(6, 'user_license_updated', 'License Updated - {{product_name}}', '<h2>License Updated</h2><p>Hello {{user_name}},</p><p>Your license for <strong>{{product_name}}</strong> has been {{update_type}}.</p>', 'user', 'license', '[\"license_key\",\"product_name\",\"update_type\",\"user_name\"]', 1, 'Notification sent when license is updated', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(7, 'user_product_version_update', 'Product Update Available - {{product_name}}', '<h2>Product Update Available</h2><p>Hello {{user_name}},</p><p>A new version of <strong>{{product_name}}</strong> is now available! We\'ve released version {{new_version}} with new features and improvements.</p>', 'user', 'product', '[\"product_name\",\"old_version\",\"new_version\",\"download_url\",\"user_name\"]', 1, 'Notification sent when product version is updated', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(8, 'user_ticket_created', 'Support Ticket Created - #{{ticket_id}}', '<h2>Support Ticket Created</h2><p>Hello {{user_name}},</p><p>Thank you for contacting our support team. We\'ve received your support ticket and will get back to you as soon as possible.</p>', 'user', 'ticket', '[\"ticket_id\",\"ticket_subject\",\"ticket_status\",\"user_name\"]', 1, 'Confirmation sent when user creates a support ticket', '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(9, 'user_ticket_status_update', 'Ticket Status Updated - #{{ticket_id}}', '<h2>Ticket Status Updated</h2><p>Hello {{user_name}},</p><p>The status of your support ticket has been updated.</p>', 'user', 'ticket', '[\"ticket_id\",\"ticket_subject\",\"old_status\",\"new_status\",\"user_name\"]', 1, 'Notification sent when ticket status is updated', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(10, 'user_ticket_reply', 'New Reply to Your Ticket - #{{ticket_id}}', '<h2>New Reply to Your Ticket</h2><p>Hello {{user_name}},</p><p>You have received a new reply to your support ticket from {{replied_by}}.</p>', 'user', 'ticket', '[\"ticket_id\",\"ticket_subject\",\"reply_message\",\"replied_by\",\"user_name\"]', 1, 'Notification sent when there is a reply to user ticket', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(11, 'user_invoice_approaching_due', 'Invoice Due Soon - #{{invoice_number}}', '<h2>Invoice Due Soon</h2><p>Hello {{user_name}},</p><p>This is a friendly reminder that your invoice #{{invoice_number}} is due in {{days_remaining}} days on {{due_date}}.</p>', 'user', 'invoice', '[\"invoice_number\",\"invoice_amount\",\"due_date\",\"days_remaining\",\"user_name\"]', 1, 'Reminder sent when invoice is approaching due date', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(12, 'user_invoice_paid', 'Invoice Paid - #{{invoice_number}}', '<h2>Invoice Paid - Thank You!</h2><p>Hello {{user_name}},</p><p>Thank you for your payment! We\'ve successfully processed your payment for invoice #{{invoice_number}}.</p>', 'user', 'invoice', '[\"invoice_number\",\"invoice_amount\",\"payment_date\",\"payment_method\",\"user_name\"]', 1, 'Confirmation sent when invoice is paid', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(13, 'user_invoice_cancelled', 'Invoice Cancelled - #{{invoice_number}}', '<h2>Invoice Cancelled</h2><p>Hello {{user_name}},</p><p>Your invoice #{{invoice_number}} has been cancelled.</p>', 'user', 'invoice', '[\"invoice_number\",\"invoice_amount\",\"cancellation_reason\",\"user_name\"]', 1, 'Notification sent when invoice is cancelled', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(14, 'admin_license_created', 'New License Created - {{product_name}}', '<h2>New License Created</h2><p>A new license has been created in the system.</p><table class=\"email-table\"><tr><th>Product</th><td>{{product_name}}</td></tr><tr><th>License Key</th><td style=\"font-family: monospace;\">{{license_key}}</td></tr><tr><th>Customer</th><td>{{customer_name}} ({{customer_email}})</td></tr></table>', 'admin', 'license', '[\"license_key\",\"product_name\",\"customer_name\",\"customer_email\"]', 1, 'Notification sent to admin when new license is created', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(15, 'admin_license_expiring', 'License Expiring Soon - {{product_name}}', '<h2>License Expiring Soon</h2><p>A customer license is about to expire and may need attention.</p>', 'admin', 'license', '[\"license_key\",\"product_name\",\"customer_name\",\"customer_email\",\"expires_at\",\"days_remaining\"]', 1, 'Warning sent to admin when license is about to expire', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(16, 'admin_license_renewed', 'License Renewed - {{product_name}}', '<h2>License Renewed</h2><p>A customer has renewed their license.</p>', 'admin', 'license', '[\"license_key\",\"product_name\",\"customer_name\",\"customer_email\",\"new_expires_at\"]', 1, 'Notification sent to admin when license is renewed', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(17, 'admin_ticket_created', 'New Support Ticket - #{{ticket_id}}', '<h2>New Support Ticket</h2><p>A new support ticket has been created by a customer.</p>', 'admin', 'ticket', '[\"ticket_id\",\"ticket_subject\",\"customer_name\",\"customer_email\",\"ticket_priority\"]', 1, 'Notification sent to admin when new ticket is created', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(18, 'admin_ticket_reply', 'Ticket Reply from Customer - #{{ticket_id}}', '<h2>Customer Reply to Ticket</h2><p>A customer has replied to their support ticket.</p>', 'admin', 'ticket', '[\"ticket_id\",\"ticket_subject\",\"customer_name\",\"customer_email\",\"reply_message\"]', 1, 'Notification sent to admin when customer replies to ticket', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(19, 'admin_ticket_closed', 'Ticket Closed by Customer - #{{ticket_id}}', '<h2>Ticket Closed by Customer</h2><p>A customer has closed their support ticket.</p>', 'admin', 'ticket', '[\"ticket_id\",\"ticket_subject\",\"customer_name\",\"customer_email\",\"closure_reason\"]', 1, 'Notification sent to admin when customer closes ticket', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(20, 'admin_invoice_approaching_due', 'Invoice Due Soon - #{{invoice_number}}', '<h2>Invoice Due Soon</h2><p>A customer invoice is approaching its due date.</p>', 'admin', 'invoice', '[\"invoice_number\",\"invoice_amount\",\"customer_name\",\"customer_email\",\"due_date\",\"days_remaining\"]', 1, 'Reminder sent to admin when invoice is approaching due date', '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(21, 'admin_invoice_cancelled', 'Invoice Cancelled - #{{invoice_number}}', '<h2>Invoice Cancelled</h2><p>A customer invoice has been cancelled.</p>', 'admin', 'invoice', '[\"invoice_number\",\"invoice_amount\",\"customer_name\",\"customer_email\",\"cancellation_reason\"]', 1, 'Notification sent to admin when invoice is cancelled', '2025-09-24 01:47:23', '2025-09-24 01:47:23');

-- --------------------------------------------------------

--
-- بنية الجدول `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `invoices`
--

CREATE TABLE `invoices` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `invoice_number` varchar(255) NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `license_id` bigint(20) UNSIGNED DEFAULT NULL,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'renewal',
  `amount` decimal(10,2) NOT NULL,
  `currency` varchar(3) NOT NULL DEFAULT 'USD',
  `status` enum('pending','paid','overdue','cancelled') NOT NULL DEFAULT 'pending',
  `due_date` date NOT NULL,
  `paid_at` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `invoices`
--

INSERT INTO `invoices` (`id`, `invoice_number`, `user_id`, `license_id`, `product_id`, `type`, `amount`, `currency`, `status`, `due_date`, `paid_at`, `notes`, `metadata`, `created_at`, `updated_at`) VALUES
(1, 'INV-2025-AC164D93', 5, 1, 1, 'purchase', '299.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Ultimate License Management System', '{\"license_type\":\"extended\",\"purchase_code\":\"ULMS-QLX3NXACJBJY\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-9499250E3E70\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(2, 'INV-2025-E038BC91', 5, 1, 1, 'renewal', '99.00', 'USD', 'paid', '2025-10-07', '2025-10-02', 'Renewal for Ultimate License Management System (annual)', '{\"license_type\":\"extended\",\"purchase_code\":\"ULMS-QLX3NXACJBJY\",\"renewal_period\":\"annual\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-EDBEB803F5B1\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(3, 'INV-2025-E40AED58', 4, 2, 1, 'purchase', '299.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Ultimate License Management System', '{\"license_type\":\"regular\",\"purchase_code\":\"ULMS-3JZQHONAWVEG\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-C8EDCD99E364\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(4, 'INV-2025-EC843907', 4, 2, 1, 'renewal', '99.00', 'USD', 'paid', '2025-09-29', '2025-09-27', 'Renewal for Ultimate License Management System (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"ULMS-3JZQHONAWVEG\",\"renewal_period\":\"annual\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-B2F6DF3DCA50\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(5, 'INV-2025-F62902FF', 4, 3, 2, 'purchase', '499.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of EasyDropshopping Ecommerce SaaS', '{\"license_type\":\"extended\",\"purchase_code\":\"EDES-V9L1VPV9ZP6P\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-B1E2DDE0F42A\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(6, 'INV-2025-E8EF1E14', 4, 3, 2, 'renewal', '199.00', 'USD', 'paid', '2025-10-09', '2025-10-04', 'Renewal for EasyDropshopping Ecommerce SaaS (annual)', '{\"license_type\":\"extended\",\"purchase_code\":\"EDES-V9L1VPV9ZP6P\",\"renewal_period\":\"annual\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-09B147C9CD59\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(7, 'INV-2025-37F5176F', 4, 3, 2, 'support', '299.00', 'USD', 'paid', '2025-10-07', '2025-10-04', 'Extended support for EasyDropshopping Ecommerce SaaS', '{\"license_type\":\"extended\",\"purchase_code\":\"EDES-V9L1VPV9ZP6P\",\"support_type\":\"extended\",\"support_days\":365,\"payment_method\":\"paypal\",\"transaction_id\":\"TXN-E889EC4F7E65\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(8, 'INV-2025-AA84A8DE', 4, 4, 2, 'purchase', '499.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of EasyDropshopping Ecommerce SaaS', '{\"license_type\":\"regular\",\"purchase_code\":\"EDES-4HWTMEOUUAJV\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-A9D08FAC1933\"}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(9, 'INV-2025-A94D3DDD', 4, 4, 2, 'renewal', '199.00', 'USD', 'overdue', '2025-10-10', NULL, 'Renewal for EasyDropshopping Ecommerce SaaS (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"EDES-4HWTMEOUUAJV\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:41', '2025-09-24 01:47:41'),
(10, 'INV-2025-6B4BAA69', 4, 4, 2, 'support', '299.00', 'USD', 'pending', '2025-10-02', NULL, 'Extended support for EasyDropshopping Ecommerce SaaS', '{\"license_type\":\"regular\",\"purchase_code\":\"EDES-4HWTMEOUUAJV\",\"support_type\":\"extended\",\"support_days\":365,\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(11, 'INV-2025-9D69842A', 6, 5, 3, 'purchase', '199.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Easy Ecommerce Platform', '{\"license_type\":\"regular\",\"purchase_code\":\"EEP-HYZ6HK9Q8DOR\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-B5858B497FC0\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(12, 'INV-2025-33B217CE', 6, 5, 3, 'renewal', '99.00', 'USD', 'pending', '2025-10-22', NULL, 'Renewal for Easy Ecommerce Platform (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"EEP-HYZ6HK9Q8DOR\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(13, 'INV-2025-1C18EA75', 5, 6, 3, 'purchase', '199.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Easy Ecommerce Platform', '{\"license_type\":\"regular\",\"purchase_code\":\"EEP-XYRASEYKJQ5T\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-3E944BBFDED4\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(14, 'INV-2025-53B7896B', 5, 6, 3, 'renewal', '99.00', 'USD', 'paid', '2025-09-29', '2025-09-28', 'Renewal for Easy Ecommerce Platform (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"EEP-XYRASEYKJQ5T\",\"renewal_period\":\"annual\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-3C1BA1EB0C94\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(15, 'INV-2025-2E116BC6', 5, 6, 3, 'support', '149.00', 'USD', 'pending', '2025-10-07', NULL, 'Extended support for Easy Ecommerce Platform', '{\"license_type\":\"regular\",\"purchase_code\":\"EEP-XYRASEYKJQ5T\",\"support_type\":\"extended\",\"support_days\":365,\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(16, 'INV-2025-E7AFBCFD', 6, 7, 4, 'purchase', '49.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Advanced Contact Form Pro', '{\"license_type\":\"regular\",\"purchase_code\":\"ACFP-AVIUEAZCOFT0\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-751A87FA71A5\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(17, 'INV-2025-F58B0E83', 6, 7, 4, 'renewal', '29.00', 'USD', 'overdue', '2025-09-28', NULL, 'Renewal for Advanced Contact Form Pro (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"ACFP-AVIUEAZCOFT0\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(18, 'INV-2025-910DD405', 6, 7, 4, 'support', '99.00', 'USD', 'paid', '2025-09-27', '2025-09-26', 'Extended support for Advanced Contact Form Pro', '{\"license_type\":\"regular\",\"purchase_code\":\"ACFP-AVIUEAZCOFT0\",\"support_type\":\"extended\",\"support_days\":365,\"payment_method\":\"paypal\",\"transaction_id\":\"TXN-A6A11E00A550\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(19, 'INV-2025-ADBB6932', 5, 8, 4, 'purchase', '49.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Advanced Contact Form Pro', '{\"license_type\":\"extended\",\"purchase_code\":\"ACFP-IOMRQSTA7WDW\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-91B5B1E9F8D8\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(20, 'INV-2025-1C94BACB', 5, 8, 4, 'renewal', '29.00', 'USD', 'overdue', '2025-10-05', NULL, 'Renewal for Advanced Contact Form Pro (annual)', '{\"license_type\":\"extended\",\"purchase_code\":\"ACFP-IOMRQSTA7WDW\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(21, 'INV-2025-2D0D9391', 5, 8, 4, 'support', '99.00', 'USD', 'pending', '2025-10-01', NULL, 'Extended support for Advanced Contact Form Pro', '{\"license_type\":\"extended\",\"purchase_code\":\"ACFP-IOMRQSTA7WDW\",\"support_type\":\"extended\",\"support_days\":365,\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(22, 'INV-2025-5DD7C44C', 5, 9, 5, 'purchase', '149.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of TaskMaster Mobile App', '{\"license_type\":\"extended\",\"purchase_code\":\"TMA-ZVDPLKQDD6HM\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-E3292C7BF7A1\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(23, 'INV-2025-4BD5F35C', 5, 9, 5, 'renewal', '79.00', 'USD', 'pending', '2025-10-24', NULL, 'Renewal for TaskMaster Mobile App (annual)', '{\"license_type\":\"extended\",\"purchase_code\":\"TMA-ZVDPLKQDD6HM\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(24, 'INV-2025-14E9E6FD', 2, 10, 6, 'purchase', '79.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Modern Admin Dashboard', '{\"license_type\":\"regular\",\"purchase_code\":\"MAD-DM8HHPJTEH11\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-3B2932B7E2AC\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(25, 'INV-2025-EEFD8A09', 2, 10, 6, 'renewal', '39.00', 'USD', 'overdue', '2025-10-12', NULL, 'Renewal for Modern Admin Dashboard (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"MAD-DM8HHPJTEH11\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(26, 'INV-2025-D3802DE0', 3, 11, 6, 'purchase', '79.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Modern Admin Dashboard', '{\"license_type\":\"regular\",\"purchase_code\":\"MAD-FOARWDF3XWQS\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-2BDDCE5C8871\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(27, 'INV-2025-F633FD2F', 3, 11, 6, 'renewal', '39.00', 'USD', 'overdue', '2025-10-19', NULL, 'Renewal for Modern Admin Dashboard (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"MAD-FOARWDF3XWQS\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(28, 'INV-2025-49E424FA', 4, 12, 1, 'purchase', '299.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Ultimate License Management System', '{\"license_type\":\"extended\",\"purchase_code\":\"ULMS-MBXTU6PBEQPB\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-A88E0E7697BE\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(29, 'INV-2025-8B427BEB', 4, 12, 1, 'renewal', '99.00', 'USD', 'overdue', '2025-10-23', NULL, 'Renewal for Ultimate License Management System (annual)', '{\"license_type\":\"extended\",\"purchase_code\":\"ULMS-MBXTU6PBEQPB\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(30, 'INV-2025-68F3D9A7', 2, 13, 2, 'purchase', '499.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of EasyDropshopping Ecommerce SaaS', '{\"license_type\":\"regular\",\"purchase_code\":\"EDES-3TFZX1WUNZRW\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-50FE17B8CBD5\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(31, 'INV-2025-E535F9B8', 2, 13, 2, 'renewal', '199.00', 'USD', 'paid', '2025-10-18', '2025-10-17', 'Renewal for EasyDropshopping Ecommerce SaaS (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"EDES-3TFZX1WUNZRW\",\"renewal_period\":\"annual\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-D77842560675\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(32, 'INV-2025-CFE683B4', 2, 14, 3, 'purchase', '199.00', 'USD', 'paid', '2025-08-25', '2025-08-25', 'Initial purchase of Easy Ecommerce Platform', '{\"license_type\":\"regular\",\"purchase_code\":\"EEP-X6ELIFOCXDXL\",\"payment_method\":\"credit_card\",\"transaction_id\":\"TXN-0DE13E528D1D\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(33, 'INV-2025-F23379E8', 2, 14, 3, 'renewal', '99.00', 'USD', 'pending', '2025-10-02', NULL, 'Renewal for Easy Ecommerce Platform (annual)', '{\"license_type\":\"regular\",\"purchase_code\":\"EEP-X6ELIFOCXDXL\",\"renewal_period\":\"annual\",\"payment_method\":null,\"transaction_id\":null}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(34, 'INV-2025-STANDALONE001', 2, NULL, NULL, 'service', '299.00', 'USD', 'pending', '2025-10-01', NULL, 'Custom development service - Website redesign', '{\"service_type\":\"custom_development\",\"project_name\":\"Website Redesign\",\"estimated_hours\":40,\"hourly_rate\":75}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(35, 'INV-2025-STANDALONE002', 4, NULL, NULL, 'consulting', '150.00', 'USD', 'paid', '2025-09-19', '2025-09-21', 'Technical consulting - API integration guidance', '{\"service_type\":\"consulting\",\"consulting_hours\":2,\"hourly_rate\":75,\"payment_method\":\"bank_transfer\",\"transaction_id\":\"TXN-CONSULT001\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42'),
(36, 'INV-2025-STANDALONE003', 4, NULL, NULL, 'maintenance', '99.00', 'USD', 'overdue', '2025-09-14', NULL, 'Monthly maintenance and support service', '{\"service_type\":\"maintenance\",\"maintenance_period\":\"monthly\",\"service_level\":\"standard\"}', '2025-09-24 01:47:42', '2025-09-24 01:47:42');

-- --------------------------------------------------------

--
-- بنية الجدول `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `queue` varchar(255) NOT NULL,
  `payload` longtext NOT NULL,
  `attempts` tinyint(3) UNSIGNED NOT NULL,
  `reserved_at` int(10) UNSIGNED DEFAULT NULL,
  `available_at` int(10) UNSIGNED NOT NULL,
  `created_at` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `job_batches`
--

CREATE TABLE `job_batches` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `total_jobs` int(11) NOT NULL,
  `pending_jobs` int(11) NOT NULL,
  `failed_jobs` int(11) NOT NULL,
  `failed_job_ids` longtext NOT NULL,
  `options` mediumtext DEFAULT NULL,
  `cancelled_at` int(11) DEFAULT NULL,
  `created_at` int(11) NOT NULL,
  `finished_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `kb_articles`
--

CREATE TABLE `kb_articles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `kb_category_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `excerpt` text DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `content` longtext NOT NULL,
  `serial` varchar(255) DEFAULT NULL,
  `requires_serial` tinyint(1) NOT NULL DEFAULT 0,
  `serial_message` text DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `views` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `is_published` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `kb_articles`
--

INSERT INTO `kb_articles` (`id`, `kb_category_id`, `product_id`, `title`, `slug`, `excerpt`, `image`, `content`, `serial`, `requires_serial`, `serial_message`, `sort_order`, `views`, `is_published`, `created_at`, `updated_at`) VALUES
(1, 1, NULL, 'Welcome to EasyDropshopping Ecommerce SaaS', 'welcome-easydropshopping', NULL, NULL, '<h1>Welcome to EasyDropshopping Ecommerce SaaS</h1>\n\n<p><strong>EasyDropshopping</strong> is a comprehensive e-commerce SaaS platform specifically designed for dropshipping businesses. Our solution provides everything you need to launch and manage a successful online store with minimal technical knowledge.</p>\n\n<h2>Key Features</h2>\n<ul>\n    <li><strong>Automated Dropshipping Integration</strong> - Connect with major suppliers automatically</li>\n    <li><strong>Multi-Vendor Marketplace</strong> - Support multiple vendors on your platform</li>\n    <li><strong>Advanced Analytics</strong> - Track sales, orders, and customer behavior</li>\n    <li><strong>Mobile-Responsive Design</strong> - Optimized for all devices</li>\n    <li><strong>Secure Payment Processing</strong> - Multiple payment gateways supported</li>\n    <li><strong>Inventory Management</strong> - Real-time stock tracking</li>\n    <li><strong>Order Fulfillment</strong> - Automated order processing</li>\n    <li><strong>Customer Support System</strong> - Built-in ticketing system</li>\n</ul>\n\n<h2>Getting Started</h2>\n<ol>\n    <li><strong>Complete Account Setup</strong> - Verify your email and business information</li>\n    <li><strong>Configure Store Settings</strong> - Set up your store name, logo, and branding</li>\n    <li><strong>Connect Suppliers</strong> - Link your dropshipping suppliers</li>\n    <li><strong>Add Products</strong> - Import products from your suppliers</li>\n    <li><strong>Set Up Payments</strong> - Configure payment methods</li>\n    <li><strong>Launch Your Store</strong> - Go live with your online business</li>\n</ol>\n\n<h2>Why Choose EasyDropshopping?</h2>\n<ul>\n    <li><strong>Easy to Use</strong> - Intuitive interface for beginners</li>\n    <li><strong>Scalable</strong> - Grow from small store to enterprise</li>\n    <li><strong>Reliable</strong> - 99.9% uptime guarantee</li>\n    <li><strong>Secure</strong> - Enterprise-grade security</li>\n    <li><strong>Support</strong> - 24/7 customer support</li>\n</ul>\n\n<p>Start your dropshipping journey today with EasyDropshopping - the complete e-commerce solution for modern entrepreneurs.</p>', NULL, 0, NULL, 1, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(2, 2, NULL, 'Welcome to Easy Ecommerce', 'welcome-easy-ecommerce', NULL, NULL, '<h1>Welcome to Easy Ecommerce</h1>\n\n<p><strong>Easy Ecommerce</strong> is a simple yet powerful e-commerce platform designed to help businesses of all sizes create and manage successful online stores. Whether you\'re selling physical products, digital downloads, or services, our platform provides the tools you need to succeed.</p>\n\n<h2>Platform Benefits</h2>\n<ul>\n    <li><strong>Easy Setup</strong> - Get your store running in minutes</li>\n    <li><strong>User-Friendly Interface</strong> - Intuitive admin panel</li>\n    <li><strong>Flexible Product Management</strong> - Support for all product types</li>\n    <li><strong>Built-in Marketing Tools</strong> - Drive more sales</li>\n    <li><strong>24/7 Customer Support</strong> - Always here to help</li>\n    <li><strong>Mobile Optimization</strong> - Perfect on all devices</li>\n    <li><strong>SEO Friendly</strong> - Built for search engines</li>\n    <li><strong>Secure & Reliable</strong> - Enterprise-grade infrastructure</li>\n</ul>\n\n<h2>Quick Start Guide</h2>\n<ol>\n    <li><strong>Install the Platform</strong> - Follow our simple installation guide</li>\n    <li><strong>Create Your First Product</strong> - Add products to your catalog</li>\n    <li><strong>Customize Your Store</strong> - Choose theme and branding</li>\n    <li><strong>Set Up Shipping</strong> - Configure delivery options</li>\n    <li><strong>Configure Payments</strong> - Connect payment processors</li>\n    <li><strong>Start Selling</strong> - Launch your online store</li>\n</ol>\n\n<h2>Perfect For</h2>\n<ul>\n    <li><strong>Small Businesses</strong> - Start selling online affordably</li>\n    <li><strong>E-commerce Newbies</strong> - No technical skills required</li>\n    <li><strong>Growing Companies</strong> - Scale as your business grows</li>\n    <li><strong>Entrepreneurs</strong> - Launch your dream online store</li>\n</ul>\n\n<p>Experience the simplicity and power of Easy Ecommerce. Start building your online business today with our comprehensive e-commerce solution.</p>', NULL, 0, NULL, 1, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(3, 3, NULL, 'Welcome to License Management System', 'welcome-license-management', NULL, NULL, '<h1>Welcome to The Ultimate License Management System</h1>\n\n<p><strong>The Ultimate License Management System</strong> is a comprehensive software licensing platform designed to help developers and businesses manage, distribute, and protect their digital products. Our system provides enterprise-grade license management with advanced security features and multi-language support.</p>\n\n<h2>System Capabilities</h2>\n<ul>\n    <li><strong>Automated License Generation</strong> - Create licenses instantly</li>\n    <li><strong>Real-time License Validation</strong> - Verify licenses instantly</li>\n    <li><strong>Domain-based Restrictions</strong> - Control usage by domain</li>\n    <li><strong>Usage Tracking & Analytics</strong> - Monitor license usage</li>\n    <li><strong>Multi-language Support</strong> - Support for 15+ programming languages</li>\n    <li><strong>API Integration</strong> - RESTful API for easy integration</li>\n    <li><strong>Advanced Security</strong> - Protect your software assets</li>\n    <li><strong>Customer Management</strong> - Manage customers and licenses</li>\n</ul>\n\n<h2>Administrator Guide</h2>\n<ol>\n    <li><strong>Set Up Your Account</strong> - Create admin account and configure access</li>\n    <li><strong>Configure System Settings</strong> - Set up general system preferences</li>\n    <li><strong>Create Your First Product</strong> - Add software products to manage</li>\n    <li><strong>Generate License Keys</strong> - Create and distribute licenses</li>\n    <li><strong>Monitor System Usage</strong> - Track license usage and analytics</li>\n    <li><strong>Manage Customers</strong> - Handle customer accounts and support</li>\n</ol>\n\n<h2>Key Features</h2>\n<ul>\n    <li><strong>License Types</strong> - Single, multi-domain, and subscription licenses</li>\n    <li><strong>Expiration Management</strong> - Automatic license expiration handling</li>\n    <li><strong>Bulk Operations</strong> - Manage multiple licenses efficiently</li>\n    <li><strong>Reporting System</strong> - Comprehensive analytics and reports</li>\n    <li><strong>Integration Templates</strong> - Pre-built code for popular languages</li>\n    <li><strong>Security Features</strong> - Advanced protection mechanisms</li>\n</ul>\n\n<p>Take control of your software licensing with The Ultimate License Management System. Start managing your digital products professionally and securely.</p>', NULL, 0, NULL, 1, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(4, 3, NULL, 'Installation Guide', 'installation-guide', NULL, NULL, '<h1>Installation Guide</h1>\n\n<p>This comprehensive installation guide will walk you through setting up The Ultimate License Management System on your server. Follow these steps carefully to ensure a successful installation.</p>\n\n<h2>System Requirements</h2>\n<ul>\n    <li><strong>PHP Version</strong> - 8.1 or higher (8.2 recommended)</li>\n    <li><strong>Database</strong> - MySQL 5.7+ or MariaDB 10.3+</li>\n    <li><strong>Web Server</strong> - Apache 2.4+ or Nginx 1.20+</li>\n    <li><strong>Composer</strong> - PHP dependency manager (latest version)</li>\n    <li><strong>Node.js</strong> - Version 16+ for asset compilation</li>\n    <li><strong>SSL Certificate</strong> - HTTPS required for production</li>\n    <li><strong>Storage</strong> - 500MB+ free disk space</li>\n    <li><strong>Memory</strong> - 512MB+ RAM recommended</li>\n</ul>\n\n<h2>Installation Steps</h2>\n<ol>\n    <li><strong>Download Files</strong>\n        <ul>\n            <li>Download the latest release from our repository</li>\n            <li>Extract files to your web directory</li>\n            <li>Ensure proper file permissions (755 for directories, 644 for files)</li>\n        </ul>\n    </li>\n\n    <li><strong>Install Dependencies</strong>\n        <ul>\n            <li>Run <code>composer install</code> to install PHP dependencies</li>\n            <li>Run <code>npm install</code> to install Node.js dependencies</li>\n            <li>Compile assets with <code>npm run build</code></li>\n        </ul>\n    </li>\n\n    <li><strong>Database Setup</strong>\n        <ul>\n            <li>Create a new MySQL database</li>\n            <li>Create a database user with full privileges</li>\n            <li>Note down database credentials for configuration</li>\n        </ul>\n    </li>\n\n    <li><strong>Environment Configuration</strong>\n        <ul>\n            <li>Copy <code>.env.example</code> to <code>.env</code></li>\n            <li>Configure database connection settings</li>\n            <li>Set application URL and environment</li>\n            <li>Configure mail settings for notifications</li>\n            <li>Set encryption key (generate with <code>php artisan key:generate</code>)</li>\n        </ul>\n    </li>\n\n    <li><strong>Run Migrations</strong>\n        <ul>\n            <li>Execute <code>php artisan migrate</code> to create database tables</li>\n            <li>Run <code>php artisan db:seed</code> to populate initial data</li>\n            <li>Verify all tables are created successfully</li>\n        </ul>\n    </li>\n\n    <li><strong>File Permissions</strong>\n        <ul>\n            <li>Set write permissions for <code>storage/</code> directory</li>\n            <li>Set write permissions for <code>bootstrap/cache/</code> directory</li>\n            <li>Ensure web server can read all files</li>\n        </ul>\n    </li>\n\n    <li><strong>Web Server Configuration</strong>\n        <ul>\n            <li>Configure document root to <code>public/</code> directory</li>\n            <li>Set up URL rewriting for clean URLs</li>\n            <li>Configure SSL certificate for HTTPS</li>\n            <li>Restart web server to apply changes</li>\n        </ul>\n    </li>\n\n    <li><strong>Final Setup</strong>\n        <ul>\n            <li>Access the application in your browser</li>\n            <li>Create administrator account</li>\n            <li>Configure system settings</li>\n            <li>Test basic functionality</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>Post-Installation Checklist</h2>\n<ul>\n    <li><strong>Security</strong> - Change default passwords and configure firewall</li>\n    <li><strong>Backup</strong> - Set up automated backup procedures</li>\n    <li><strong>Monitoring</strong> - Configure error logging and monitoring</li>\n    <li><strong>Updates</strong> - Set up update notifications</li>\n    <li><strong>Documentation</strong> - Review user guides and API documentation</li>\n</ul>\n\n<h2>Troubleshooting</h2>\n<ul>\n    <li><strong>Permission Errors</strong> - Check file and directory permissions</li>\n    <li><strong>Database Connection</strong> - Verify database credentials and connectivity</li>\n    <li><strong>Composer Issues</strong> - Clear composer cache and reinstall dependencies</li>\n    <li><strong>Web Server</strong> - Check error logs and configuration</li>\n</ul>\n\n<p>After completing the installation, your License Management System will be ready to use. Access the admin panel to start configuring your system and managing licenses.</p>', NULL, 0, NULL, 2, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(5, 3, NULL, 'Features Overview', 'features-overview', NULL, NULL, '<h1>Features Overview</h1>\n\n<p>The Ultimate License Management System offers a comprehensive set of features designed to help you manage software licenses efficiently and securely. Our platform combines powerful functionality with an intuitive user interface.</p>\n\n<h2>Core Features</h2>\n<ul>\n    <li><strong>User Management System</strong>\n        <ul>\n            <li>Role-based access control</li>\n            <li>User authentication and authorization</li>\n            <li>Profile management</li>\n            <li>Activity logging</li>\n        </ul>\n    </li>\n\n    <li><strong>Product Catalog Management</strong>\n        <ul>\n            <li>Create and manage software products</li>\n            <li>Product categorization</li>\n            <li>Version management</li>\n            <li>Downloadable files</li>\n        </ul>\n    </li>\n\n    <li><strong>License Management</strong>\n        <ul>\n            <li>Automated license key generation</li>\n            <li>License type configuration</li>\n            <li>Expiration date management</li>\n            <li>Bulk license operations</li>\n        </ul>\n    </li>\n\n    <li><strong>Order Processing</strong>\n        <ul>\n            <li>Automated order fulfillment</li>\n            <li>Payment gateway integration</li>\n            <li>Invoice generation</li>\n            <li>Order status tracking</li>\n        </ul>\n    </li>\n\n    <li><strong>Payment Integration</strong>\n        <ul>\n            <li>Multiple payment gateways</li>\n            <li>Recurring billing support</li>\n            <li>Refund management</li>\n            <li>Transaction logging</li>\n        </ul>\n    </li>\n\n    <li><strong>Customer Support System</strong>\n        <ul>\n            <li>Ticket management</li>\n            <li>Knowledge base</li>\n            <li>FAQ system</li>\n            <li>Customer communication</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Advanced Features</h2>\n<ul>\n    <li><strong>Multi-Language Support</strong>\n        <ul>\n            <li>15+ programming languages</li>\n            <li>Pre-built integration templates</li>\n            <li>Language-specific documentation</li>\n            <li>Community support</li>\n        </ul>\n    </li>\n\n    <li><strong>API Integration</strong>\n        <ul>\n            <li>RESTful API endpoints</li>\n            <li>Webhook notifications</li>\n            <li>Third-party integrations</li>\n            <li>API rate limiting</li>\n        </ul>\n    </li>\n\n    <li><strong>Analytics & Reporting</strong>\n        <ul>\n            <li>License usage analytics</li>\n            <li>Sales reports</li>\n            <li>Customer insights</li>\n            <li>Performance metrics</li>\n        </ul>\n    </li>\n\n    <li><strong>Security Features</strong>\n        <ul>\n            <li>License key encryption</li>\n            <li>Domain validation</li>\n            <li>IP restrictions</li>\n            <li>Audit trails</li>\n        </ul>\n    </li>\n\n    <li><strong>SEO Optimization</strong>\n        <ul>\n            <li>Search engine friendly URLs</li>\n            <li>Meta tag management</li>\n            <li>XML sitemap generation</li>\n            <li>Social media integration</li>\n        </ul>\n    </li>\n\n    <li><strong>Mobile Responsiveness</strong>\n        <ul>\n            <li>Mobile-optimized interface</li>\n            <li>Progressive web app support</li>\n            <li>Touch-friendly controls</li>\n            <li>Offline functionality</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Integration Capabilities</h2>\n<ul>\n    <li><strong>Programming Languages</strong> - PHP, JavaScript, Python, Java, C#, C++, Ruby, Go, and more</li>\n    <li><strong>Frameworks</strong> - Laravel, React, Vue.js, Angular, Django, Spring</li>\n    <li><strong>Platforms</strong> - WordPress, Joomla, Drupal, Magento</li>\n    <li><strong>Payment Systems</strong> - Stripe, PayPal, Authorize.net, 2Checkout</li>\n    <li><strong>Email Services</strong> - SendGrid, Mailgun, Amazon SES</li>\n</ul>\n\n<h2>Scalability Features</h2>\n<ul>\n    <li><strong>High Performance</strong> - Optimized for high-traffic websites</li>\n    <li><strong>Cloud Ready</strong> - Deploy on AWS, DigitalOcean, or any cloud provider</li>\n    <li><strong>Database Optimization</strong> - Efficient queries and caching</li>\n    <li><strong>CDN Integration</strong> - Fast content delivery worldwide</li>\n    <li><strong>Load Balancing</strong> - Handle thousands of concurrent users</li>\n</ul>\n\n<p>Our comprehensive feature set ensures that you have everything needed to manage software licenses effectively, from initial setup to ongoing maintenance and customer support.</p>', NULL, 0, NULL, 3, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(6, 3, NULL, 'Adding Licenses', 'adding-licenses', NULL, NULL, '<h1>Adding Licenses</h1>\n\n<p>The license management system allows you to create and manage various types of software licenses. This guide covers the different license types available and how to create them effectively.</p>\n\n<h2>License Types</h2>\n<ul>\n    <li><strong>Single Domain License</strong>\n        <ul>\n            <li>Valid for one domain only</li>\n            <li>Perfect for client projects</li>\n            <li>Domain validation required</li>\n            <li>Automatic deactivation on domain change</li>\n        </ul>\n    </li>\n\n    <li><strong>Multi-Domain License</strong>\n        <ul>\n            <li>Valid for multiple domains</li>\n            <li>Set maximum domain limit</li>\n            <li>Flexible domain management</li>\n            <li>Domain tracking and reporting</li>\n        </ul>\n    </li>\n\n    <li><strong>Unlimited Domain License</strong>\n        <ul>\n            <li>No domain restrictions</li>\n            <li>Perfect for agencies and developers</li>\n            <li>Higher pricing tier</li>\n            <li>Usage analytics included</li>\n        </ul>\n    </li>\n\n    <li><strong>Subscription License</strong>\n        <ul>\n            <li>Time-based validity</li>\n            <li>Automatic renewal options</li>\n            <li>Monthly or yearly billing</li>\n            <li>Grace period for renewals</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Creating Licenses</h2>\n<ol>\n    <li><strong>Access License Management</strong>\n        <ul>\n            <li>Log in to admin panel</li>\n            <li>Navigate to \"Licenses\" section</li>\n            <li>Click \"Add New License\"</li>\n        </ul>\n    </li>\n\n    <li><strong>Select License Type</strong>\n        <ul>\n            <li>Choose from available license types</li>\n            <li>Configure license parameters</li>\n            <li>Set pricing and billing options</li>\n        </ul>\n    </li>\n\n    <li><strong>Associate with Product</strong>\n        <ul>\n            <li>Select the software product</li>\n            <li>Choose appropriate version</li>\n            <li>Set license restrictions</li>\n        </ul>\n    </li>\n\n    <li><strong>Configure Expiration</strong>\n        <ul>\n            <li>Set expiration date</li>\n            <li>Configure renewal options</li>\n            <li>Set up notifications</li>\n        </ul>\n    </li>\n\n    <li><strong>Set Domain Restrictions</strong>\n        <ul>\n            <li>Define allowed domains</li>\n            <li>Set domain limits</li>\n            <li>Configure validation rules</li>\n        </ul>\n    </li>\n\n    <li><strong>Generate License Key</strong>\n        <ul>\n            <li>Automatic key generation</li>\n            <li>Custom key format options</li>\n            <li>Key length configuration</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>License Management Features</h2>\n<ul>\n    <li><strong>License Tracking</strong> - Monitor all active licenses</li>\n    <li><strong>Usage Analytics</strong> - Track license utilization</li>\n    <li><strong>Expiration Alerts</strong> - Automatic renewal notifications</li>\n    <li><strong>Bulk Operations</strong> - Manage multiple licenses</li>\n    <li><strong>License Transfer</strong> - Transfer licenses between users</li>\n    <li><strong>Revocation</strong> - Deactivate licenses when needed</li>\n    <li><strong>Reporting</strong> - Generate license usage reports</li>\n</ul>\n\n<h2>Best Practices</h2>\n<ul>\n    <li><strong>Clear Naming</strong> - Use descriptive license names</li>\n    <li><strong>Consistent Pricing</strong> - Maintain pricing structure</li>\n    <li><strong>Regular Audits</strong> - Review license usage periodically</li>\n    <li><strong>Security</strong> - Keep license keys secure</li>\n    <li><strong>Documentation</strong> - Document license policies</li>\n</ul>\n\n<h2>License Validation</h2>\n<p>The system automatically validates licenses through:</p>\n<ul>\n    <li><strong>Domain Verification</strong> - Ensures license matches domain</li>\n    <li><strong>Expiration Checks</strong> - Validates license is not expired</li>\n    <li><strong>Usage Limits</strong> - Monitors usage against limits</li>\n    <li><strong>Security Validation</strong> - Prevents unauthorized use</li>\n</ul>\n\n<p>Effective license management is crucial for protecting your software assets while providing excellent service to your customers.</p>', NULL, 0, NULL, 4, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(7, 3, NULL, 'Adding Products', 'adding-products', NULL, NULL, '<h1>Adding Products</h1>\n\n<p>The product management system allows you to create and manage software products that can be licensed to customers. This comprehensive guide covers all aspects of product management.</p>\n\n<h2>Product Types</h2>\n<ul>\n    <li><strong>Software Applications</strong>\n        <ul>\n            <li>Desktop applications</li>\n            <li>Web applications</li>\n            <li>Mobile applications</li>\n            <li>Browser extensions</li>\n        </ul>\n    </li>\n\n    <li><strong>Plugins & Extensions</strong>\n        <ul>\n            <li>WordPress plugins</li>\n            <li>Joomla extensions</li>\n            <li>Drupal modules</li>\n            <li>Browser extensions</li>\n        </ul>\n    </li>\n\n    <li><strong>Themes & Templates</strong>\n        <ul>\n            <li>Website themes</li>\n            <li>Admin templates</li>\n            <li>Email templates</li>\n            <li>UI component libraries</li>\n        </ul>\n    </li>\n\n    <li><strong>Services & Tools</strong>\n        <ul>\n            <li>Development tools</li>\n            <li>Consulting services</li>\n            <li>Support packages</li>\n            <li>Training materials</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Creating a New Product</h2>\n<ol>\n    <li><strong>Access Product Management</strong>\n        <ul>\n            <li>Log in to admin panel</li>\n            <li>Navigate to \"Products\" section</li>\n            <li>Click \"Add New Product\"</li>\n        </ul>\n    </li>\n\n    <li><strong>Basic Information</strong>\n        <ul>\n            <li>Enter product name</li>\n            <li>Create unique slug</li>\n            <li>Write detailed description</li>\n            <li>Select product category</li>\n            <li>Choose programming language</li>\n        </ul>\n    </li>\n\n    <li><strong>Pricing Configuration</strong>\n        <ul>\n            <li>Set regular price</li>\n            <li>Configure renewal pricing</li>\n            <li>Set renewal period</li>\n            <li>Define stock quantity</li>\n            <li>Enable unlimited stock option</li>\n        </ul>\n    </li>\n\n    <li><strong>Advanced Settings</strong>\n        <ul>\n            <li>Set product version</li>\n            <li>Configure status (active/inactive)</li>\n            <li>Mark as featured product</li>\n            <li>Enable download option</li>\n            <li>Upload integration file</li>\n        </ul>\n    </li>\n\n    <li><strong>Media & Files</strong>\n        <ul>\n            <li>Upload product images</li>\n            <li>Add screenshots</li>\n            <li>Upload product files</li>\n            <li>Set featured image</li>\n        </ul>\n    </li>\n\n    <li><strong>SEO Optimization</strong>\n        <ul>\n            <li>Set meta title</li>\n            <li>Write meta description</li>\n            <li>Add keywords</li>\n            <li>Configure canonical URL</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>Product Categories</h2>\n<ul>\n    <li><strong>Web Development</strong> - Websites, web apps, CMS themes</li>\n    <li><strong>Mobile Apps</strong> - iOS and Android applications</li>\n    <li><strong>Desktop Software</strong> - Windows, macOS, Linux applications</li>\n    <li><strong>Plugins</strong> - Extensions for popular platforms</li>\n    <li><strong>Themes</strong> - Design templates and skins</li>\n    <li><strong>Services</strong> - Consulting and development services</li>\n    <li><strong>Tools</strong> - Development and productivity tools</li>\n</ul>\n\n<h2>Pricing Models</h2>\n<ul>\n    <li><strong>One-time Purchase</strong> - Single payment, lifetime access</li>\n    <li><strong>Subscription</strong> - Recurring payments, ongoing access</li>\n    <li><strong>Freemium</strong> - Free basic version, premium features</li>\n    <li><strong>Enterprise</strong> - Custom pricing for large organizations</li>\n    <li><strong>SaaS</strong> - Software as a Service model</li>\n</ul>\n\n<h2>Product Management Features</h2>\n<ul>\n    <li><strong>Version Control</strong> - Manage product versions and updates</li>\n    <li><strong>Download Management</strong> - Handle file downloads and access</li>\n    <li><strong>License Integration</strong> - Automatic license generation</li>\n    <li><strong>Customer Management</strong> - Track product customers</li>\n    <li><strong>Analytics</strong> - Monitor product performance</li>\n    <li><strong>Reviews & Ratings</strong> - Customer feedback system</li>\n</ul>\n\n<h2>Integration Files</h2>\n<p>Integration files help customers integrate your product with their applications:</p>\n<ul>\n    <li><strong>Language-specific files</strong> - Pre-built for popular languages</li>\n    <li><strong>API documentation</strong> - Complete integration guides</li>\n    <li><strong>Code examples</strong> - Sample implementations</li>\n    <li><strong>SDK packages</strong> - Software development kits</li>\n</ul>\n\n<h2>Best Practices</h2>\n<ul>\n    <li><strong>Clear Descriptions</strong> - Write detailed, accurate descriptions</li>\n    <li><strong>Professional Images</strong> - Use high-quality screenshots</li>\n    <li><strong>Regular Updates</strong> - Keep products updated</li>\n    <li><strong>Customer Support</strong> - Provide excellent support</li>\n    <li><strong>SEO Optimization</strong> - Optimize for search engines</li>\n</ul>\n\n<p>Effective product management is essential for running a successful software business. Take the time to set up your products properly for the best customer experience.</p>', NULL, 0, NULL, 5, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(8, 3, NULL, 'Adding Support Categories', 'adding-support-categories', NULL, NULL, '<h1>Adding Support Categories</h1>\n\n<p>The support category system helps you organize customer support tickets efficiently. By categorizing tickets, you can route them to the appropriate support staff and track performance by category.</p>\n\n<h2>Support Category Types</h2>\n<ul>\n    <li><strong>Technical Support</strong>\n        <ul>\n            <li>Bug reports and technical issues</li>\n            <li>Installation problems</li>\n            <li>Integration questions</li>\n            <li>Performance issues</li>\n        </ul>\n    </li>\n\n    <li><strong>Feature Requests</strong>\n        <ul>\n            <li>New feature suggestions</li>\n            <li>Enhancement requests</li>\n            <li>Customization requests</li>\n            <li>Integration requests</li>\n        </ul>\n    </li>\n\n    <li><strong>General Inquiry</strong>\n        <ul>\n            <li>General questions</li>\n            <li>Pricing information</li>\n            <li>Account questions</li>\n            <li>Documentation requests</li>\n        </ul>\n    </li>\n\n    <li><strong>Billing & Payments</strong>\n        <ul>\n            <li>Payment questions</li>\n            <li>Refund requests</li>\n            <li>Subscription issues</li>\n            <li>Invoice questions</li>\n        </ul>\n    </li>\n\n    <li><strong>Pre-Sales</strong>\n        <ul>\n            <li>Product information</li>\n            <li>Demo requests</li>\n            <li>Custom quotes</li>\n            <li>Partnership inquiries</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Creating Support Categories</h2>\n<ol>\n    <li><strong>Access Support Management</strong>\n        <ul>\n            <li>Log in to admin panel</li>\n            <li>Navigate to \"Support\" → \"Categories\"</li>\n            <li>Click \"Add New Category\"</li>\n        </ul>\n    </li>\n\n    <li><strong>Basic Information</strong>\n        <ul>\n            <li>Enter category name</li>\n            <li>Create unique slug</li>\n            <li>Write category description</li>\n            <li>Set display order</li>\n        </ul>\n    </li>\n\n    <li><strong>Configuration Settings</strong>\n        <ul>\n            <li>Set category priority (Low, Medium, High, Urgent)</li>\n            <li>Configure auto-assignment rules</li>\n            <li>Set response time SLAs</li>\n            <li>Define category status</li>\n        </ul>\n    </li>\n\n    <li><strong>Staff Assignment</strong>\n        <ul>\n            <li>Assign specific staff members</li>\n            <li>Set backup staff for escalations</li>\n            <li>Configure notification preferences</li>\n        </ul>\n    </li>\n\n    <li><strong>Access Control</strong>\n        <ul>\n            <li>Set visibility permissions</li>\n            <li>Configure customer access</li>\n            <li>Define category restrictions</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>Category Management Features</h2>\n<ul>\n    <li><strong>Ticket Routing</strong> - Automatic ticket assignment</li>\n    <li><strong>SLA Management</strong> - Response time tracking</li>\n    <li><strong>Performance Analytics</strong> - Category performance reports</li>\n    <li><strong>Staff Workload</strong> - Balance support team workload</li>\n    <li><strong>Escalation Rules</strong> - Automatic escalation procedures</li>\n    <li><strong>Customer Feedback</strong> - Category satisfaction ratings</li>\n</ul>\n\n<h2>Best Practices</h2>\n<ul>\n    <li><strong>Clear Naming</strong> - Use descriptive category names</li>\n    <li><strong>Logical Organization</strong> - Group related issues together</li>\n    <li><strong>Staff Expertise</strong> - Assign categories to skilled staff</li>\n    <li><strong>Regular Review</strong> - Update categories based on trends</li>\n    <li><strong>Customer Experience</strong> - Ensure categories are customer-friendly</li>\n</ul>\n\n<h2>Category Analytics</h2>\n<p>Track category performance with detailed analytics:</p>\n<ul>\n    <li><strong>Ticket Volume</strong> - Number of tickets per category</li>\n    <li><strong>Response Times</strong> - Average response time by category</li>\n    <li><strong>Resolution Rates</strong> - Ticket resolution statistics</li>\n    <li><strong>Customer Satisfaction</strong> - Category-specific ratings</li>\n    <li><strong>Staff Performance</strong> - Individual staff metrics</li>\n</ul>\n\n<h2>Automation Rules</h2>\n<ul>\n    <li><strong>Auto-Assignment</strong> - Automatically assign tickets to staff</li>\n    <li><strong>Escalation</strong> - Escalate tickets based on time or priority</li>\n    <li><strong>Notifications</strong> - Send alerts for new tickets</li>\n    <li><strong>Follow-ups</strong> - Automatic follow-up emails</li>\n</ul>\n\n<p>Well-organized support categories improve response times, customer satisfaction, and team efficiency. Take the time to set up your categories thoughtfully for the best results.</p>', NULL, 0, NULL, 6, 0, 1, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(9, 3, NULL, 'Adding KB Categories', 'adding-kb-categories', NULL, NULL, '<h1>Adding Knowledge Base Categories</h1>\n\n<p>The Knowledge Base category system helps you organize your documentation and articles logically. Well-structured categories make it easier for customers to find the information they need.</p>\n\n<h2>Category Types</h2>\n<ul>\n    <li><strong>Product Documentation</strong>\n        <ul>\n            <li>User guides and manuals</li>\n            <li>Installation instructions</li>\n            <li>Configuration guides</li>\n            <li>API documentation</li>\n        </ul>\n    </li>\n\n    <li><strong>Troubleshooting</strong>\n        <ul>\n            <li>Common issues and solutions</li>\n            <li>Error messages and fixes</li>\n            <li>Performance optimization</li>\n            <li>Debugging guides</li>\n        </ul>\n    </li>\n\n    <li><strong>FAQs</strong>\n        <ul>\n            <li>Frequently asked questions</li>\n            <li>Common customer inquiries</li>\n            <li>Quick reference guides</li>\n            <li>Best practices</li>\n        </ul>\n    </li>\n\n    <li><strong>Tutorials</strong>\n        <ul>\n            <li>Step-by-step guides</li>\n            <li>Video tutorials</li>\n            <li>Code examples</li>\n            <li>Integration tutorials</li>\n        </ul>\n    </li>\n\n    <li><strong>Release Notes</strong>\n        <ul>\n            <li>Version updates</li>\n            <li>New features</li>\n            <li>Bug fixes</li>\n            <li>Breaking changes</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Creating KB Categories</h2>\n<ol>\n    <li><strong>Access Knowledge Base</strong>\n        <ul>\n            <li>Log in to admin panel</li>\n            <li>Navigate to \"Knowledge Base\" → \"Categories\"</li>\n            <li>Click \"Add New Category\"</li>\n        </ul>\n    </li>\n\n    <li><strong>Basic Information</strong>\n        <ul>\n            <li>Enter category name</li>\n            <li>Create SEO-friendly slug</li>\n            <li>Write detailed description</li>\n            <li>Set display order</li>\n        </ul>\n    </li>\n\n    <li><strong>SEO Optimization</strong>\n        <ul>\n            <li>Set meta title</li>\n            <li>Write meta description</li>\n            <li>Add relevant keywords</li>\n            <li>Configure canonical URL</li>\n        </ul>\n    </li>\n\n    <li><strong>Access Control</strong>\n        <ul>\n            <li>Set category visibility</li>\n            <li>Configure user permissions</li>\n            <li>Define access restrictions</li>\n        </ul>\n    </li>\n\n    <li><strong>Display Settings</strong>\n        <ul>\n            <li>Choose category icon</li>\n            <li>Set category color</li>\n            <li>Configure layout options</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>Category Hierarchy</h2>\n<ul>\n    <li><strong>Parent Categories</strong> - Top-level organization</li>\n    <li><strong>Subcategories</strong> - Detailed organization within parent categories</li>\n    <li><strong>Nested Structure</strong> - Multi-level category organization</li>\n    <li><strong>Cross-linking</strong> - Related categories and articles</li>\n</ul>\n\n<h2>Category Management Features</h2>\n<ul>\n    <li><strong>Article Organization</strong> - Group related articles</li>\n    <li><strong>Search Optimization</strong> - Improve discoverability</li>\n    <li><strong>Analytics Tracking</strong> - Monitor category performance</li>\n    <li><strong>Bulk Operations</strong> - Manage multiple categories</li>\n    <li><strong>Import/Export</strong> - Migrate category structures</li>\n</ul>\n\n<h2>SEO Best Practices</h2>\n<ul>\n    <li><strong>Keyword Research</strong> - Use relevant search terms</li>\n    <li><strong>Clear Structure</strong> - Logical category hierarchy</li>\n    <li><strong>Descriptive Names</strong> - User-friendly category names</li>\n    <li><strong>Meta Optimization</strong> - Optimize meta tags</li>\n    <li><strong>Internal Linking</strong> - Link between related content</li>\n</ul>\n\n<h2>Category Analytics</h2>\n<p>Track category performance with comprehensive analytics:</p>\n<ul>\n    <li><strong>View Statistics</strong> - Page views and engagement</li>\n    <li><strong>Popular Content</strong> - Most viewed articles</li>\n    <li><strong>Search Performance</strong> - Search ranking and clicks</li>\n    <li><strong>User Behavior</strong> - Time spent and bounce rates</li>\n</ul>\n\n<h2>Maintenance Tasks</h2>\n<ul>\n    <li><strong>Regular Updates</strong> - Keep categories current</li>\n    <li><strong>Content Audit</strong> - Review and update articles</li>\n    <li><strong>Performance Review</strong> - Analyze category effectiveness</li>\n    <li><strong>User Feedback</strong> - Incorporate user suggestions</li>\n</ul>\n\n<p>Well-structured Knowledge Base categories improve user experience and reduce support tickets. Invest time in creating a logical, user-friendly category structure.</p>', NULL, 0, NULL, 7, 0, 1, '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(10, 3, NULL, 'Adding KB Articles', 'adding-kb-articles', NULL, NULL, '<h1>Adding Knowledge Base Articles</h1>\n\n<p>Knowledge Base articles are the core content of your documentation system. Well-written articles help customers solve problems independently and reduce support ticket volume.</p>\n\n<h2>Article Types</h2>\n<ul>\n    <li><strong>How-to Guides</strong>\n        <ul>\n            <li>Step-by-step instructions</li>\n            <li>Tutorial-style content</li>\n            <li>Process documentation</li>\n            <li>Configuration guides</li>\n        </ul>\n    </li>\n\n    <li><strong>Troubleshooting Articles</strong>\n        <ul>\n            <li>Problem identification</li>\n            <li>Step-by-step solutions</li>\n            <li>Common error fixes</li>\n            <li>Diagnostic procedures</li>\n        </ul>\n    </li>\n\n    <li><strong>Reference Documentation</strong>\n        <ul>\n            <li>API documentation</li>\n            <li>Technical specifications</li>\n            <li>Configuration options</li>\n            <li>Feature descriptions</li>\n        </ul>\n    </li>\n\n    <li><strong>FAQ Articles</strong>\n        <ul>\n            <li>Common questions</li>\n            <li>Quick answers</li>\n            <li>Clarification content</li>\n            <li>Policy explanations</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Creating Articles</h2>\n<ol>\n    <li><strong>Access Article Management</strong>\n        <ul>\n            <li>Log in to admin panel</li>\n            <li>Navigate to \"Knowledge Base\" → \"Articles\"</li>\n            <li>Click \"Add New Article\"</li>\n        </ul>\n    </li>\n\n    <li><strong>Basic Information</strong>\n        <ul>\n            <li>Enter article title</li>\n            <li>Create SEO-friendly slug</li>\n            <li>Select appropriate category</li>\n            <li>Set publication status</li>\n        </ul>\n    </li>\n\n    <li><strong>Content Creation</strong>\n        <ul>\n            <li>Write comprehensive content</li>\n            <li>Use clear headings and structure</li>\n            <li>Add code examples where relevant</li>\n            <li>Include screenshots or diagrams</li>\n        </ul>\n    </li>\n\n    <li><strong>SEO Optimization</strong>\n        <ul>\n            <li>Write compelling meta description</li>\n            <li>Add relevant keywords</li>\n            <li>Optimize title for search</li>\n            <li>Use proper heading structure</li>\n        </ul>\n    </li>\n\n    <li><strong>Media & Attachments</strong>\n        <ul>\n            <li>Upload images and screenshots</li>\n            <li>Add downloadable files</li>\n            <li>Include video content</li>\n            <li>Attach code samples</li>\n        </ul>\n    </li>\n\n    <li><strong>Review & Publish</strong>\n        <ul>\n            <li>Proofread content</li>\n            <li>Test all links and media</li>\n            <li>Set publication date</li>\n            <li>Publish or schedule article</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>Article Structure Best Practices</h2>\n<ul>\n    <li><strong>Clear Introduction</strong> - Explain what the article covers</li>\n    <li><strong>Logical Flow</strong> - Organize content logically</li>\n    <li><strong>Actionable Content</strong> - Provide clear steps and solutions</li>\n    <li><strong>Visual Elements</strong> - Use images, code blocks, and formatting</li>\n    <li><strong>Call-to-Actions</strong> - Guide users to next steps</li>\n</ul>\n\n<h2>Content Formatting</h2>\n<ul>\n    <li><strong>Headings</strong> - Use H1, H2, H3 for structure</li>\n    <li><strong>Lists</strong> - Numbered lists for steps, bullet points for features</li>\n    <li><strong>Code Blocks</strong> - Syntax highlighting for code examples</li>\n    <li><strong>Tables</strong> - Organize complex information</li>\n    <li><strong>Links</strong> - Internal and external references</li>\n</ul>\n\n<h2>Article Management Features</h2>\n<ul>\n    <li><strong>Version Control</strong> - Track article changes</li>\n    <li><strong>Draft Mode</strong> - Save work in progress</li>\n    <li><strong>Scheduled Publishing</strong> - Publish at specific times</li>\n    <li><strong>Article Templates</strong> - Reuse common structures</li>\n    <li><strong>Bulk Operations</strong> - Manage multiple articles</li>\n</ul>\n\n<h2>SEO Optimization</h2>\n<ul>\n    <li><strong>Title Optimization</strong> - Include target keywords</li>\n    <li><strong>Meta Description</strong> - Compelling summary under 160 characters</li>\n    <li><strong>Keyword Usage</strong> - Natural keyword integration</li>\n    <li><strong>Internal Linking</strong> - Link to related articles</li>\n    <li><strong>URL Structure</strong> - Clean, descriptive URLs</li>\n</ul>\n\n<h2>Article Analytics</h2>\n<p>Monitor article performance with detailed analytics:</p>\n<ul>\n    <li><strong>View Statistics</strong> - Page views and unique visitors</li>\n    <li><strong>Engagement Metrics</strong> - Time on page, bounce rate</li>\n    <li><strong>Search Performance</strong> - Organic search rankings</li>\n    <li><strong>Social Sharing</strong> - Social media engagement</li>\n    <li><strong>Conversion Tracking</strong> - Goal completion rates</li>\n</ul>\n\n<h2>Content Maintenance</h2>\n<ul>\n    <li><strong>Regular Updates</strong> - Keep content current</li>\n    <li><strong>Broken Link Checks</strong> - Verify all links work</li>\n    <li><strong>Content Audit</strong> - Review for accuracy and relevance</li>\n    <li><strong>User Feedback</strong> - Incorporate reader suggestions</li>\n    <li><strong>Performance Optimization</strong> - Improve loading times</li>\n</ul>\n\n<p>High-quality Knowledge Base articles reduce customer support costs and improve user satisfaction. Focus on creating clear, comprehensive, and actionable content.</p>', NULL, 0, NULL, 8, 0, 1, '2025-09-24 01:47:22', '2025-09-24 01:47:22');
INSERT INTO `kb_articles` (`id`, `kb_category_id`, `product_id`, `title`, `slug`, `excerpt`, `image`, `content`, `serial`, `requires_serial`, `serial_message`, `sort_order`, `views`, `is_published`, `created_at`, `updated_at`) VALUES
(11, 3, NULL, 'License Integration', 'license-integration', NULL, NULL, '<h1>License Integration</h1>\n\n<p>Integrating license validation into your software is crucial for protecting your intellectual property and ensuring compliance. Our system provides multiple integration methods for different programming languages and frameworks.</p>\n\n<h2>Integration Methods</h2>\n<ul>\n    <li><strong>API Integration</strong>\n        <ul>\n            <li>RESTful API endpoints</li>\n            <li>JSON response format</li>\n            <li>Real-time validation</li>\n            <li>Webhook notifications</li>\n        </ul>\n    </li>\n\n    <li><strong>SDK Integration</strong>\n        <ul>\n            <li>Language-specific SDKs</li>\n            <li>Pre-built libraries</li>\n            <li>Automatic updates</li>\n            <li>Community support</li>\n        </ul>\n    </li>\n\n    <li><strong>Plugin Integration</strong>\n        <ul>\n            <li>Framework-specific plugins</li>\n            <li>One-click installation</li>\n            <li>Automatic configuration</li>\n            <li>Regular updates</li>\n        </ul>\n    </li>\n\n    <li><strong>Manual Integration</strong>\n        <ul>\n            <li>Custom implementation</li>\n            <li>Full control over process</li>\n            <li>Framework agnostic</li>\n            <li>Advanced customization</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Supported Programming Languages</h2>\n<ul>\n    <li><strong>PHP</strong> - Web applications, CMS, frameworks</li>\n    <li><strong>JavaScript/Node.js</strong> - Frontend, backend, desktop apps</li>\n    <li><strong>Python</strong> - Data science, web apps, automation</li>\n    <li><strong>Java</strong> - Enterprise applications, Android</li>\n    <li><strong>C#</strong> - .NET applications, Unity games</li>\n    <li><strong>C++</strong> - System programming, games, applications</li>\n    <li><strong>Ruby</strong> - Web development, Rails applications</li>\n    <li><strong>Go</strong> - Cloud services, networking, DevOps</li>\n    <li><strong>Rust</strong> - System programming, performance-critical apps</li>\n    <li><strong>Swift</strong> - iOS and macOS applications</li>\n</ul>\n\n<h2>Integration Steps</h2>\n<ol>\n    <li><strong>Choose Integration Method</strong>\n        <ul>\n            <li>Evaluate your requirements</li>\n            <li>Consider development resources</li>\n            <li>Review available options</li>\n            <li>Select appropriate method</li>\n        </ul>\n    </li>\n\n    <li><strong>Obtain API Credentials</strong>\n        <ul>\n            <li>Generate API key</li>\n            <li>Configure access permissions</li>\n            <li>Set up webhook endpoints</li>\n            <li>Test API connectivity</li>\n        </ul>\n    </li>\n\n    <li><strong>Implement License Validation</strong>\n        <ul>\n            <li>Add validation code to application</li>\n            <li>Handle different license types</li>\n            <li>Implement error handling</li>\n            <li>Test validation logic</li>\n        </ul>\n    </li>\n\n    <li><strong>Handle Validation Responses</strong>\n        <ul>\n            <li>Process success responses</li>\n            <li>Handle error conditions</li>\n            <li>Implement retry logic</li>\n            <li>Log validation attempts</li>\n        </ul>\n    </li>\n\n    <li><strong>Domain Validation</strong>\n        <ul>\n            <li>Implement domain checking</li>\n            <li>Handle subdomains</li>\n            <li>Support multiple domains</li>\n            <li>Validate domain format</li>\n        </ul>\n    </li>\n\n    <li><strong>Error Handling & Logging</strong>\n        <ul>\n            <li>Implement comprehensive error handling</li>\n            <li>Set up logging system</li>\n            <li>Monitor validation failures</li>\n            <li>Alert on critical errors</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>API Endpoints</h2>\n<ul>\n    <li><strong>Validate License</strong> - <code>POST /api/validate</code></li>\n    <li><strong>Activate License</strong> - <code>POST /api/activate</code></li>\n    <li><strong>Deactivate License</strong> - <code>POST /api/deactivate</code></li>\n    <li><strong>Check Status</strong> - <code>GET /api/status/{license_key}</code></li>\n    <li><strong>Get License Info</strong> - <code>GET /api/license/{license_key}</code></li>\n</ul>\n\n<h2>Code Examples</h2>\n<h3>PHP Integration</h3>\n<pre><code>&lt;?php\n// Include license validator\nrequire_once \'license-validator.php\';\n\n// Initialize validator\n$validator = new LicenseValidator(\'YOUR_API_KEY\');\n\n// Validate license\n$result = $validator->validate(\'LICENSE_KEY\', \'example.com\');\n\nif ($result-&gt;isValid()) {\n    // License is valid, proceed with application\n    echo \"License validated successfully!\";\n} else {\n    // Handle invalid license\n    die(\"Invalid license key\");\n}\n?&gt;</code></pre>\n\n<h3>JavaScript Integration</h3>\n<pre><code>// Initialize license validator\nconst validator = new LicenseValidator(\'YOUR_API_KEY\');\n\n// Validate license\nvalidator.validate(\'LICENSE_KEY\', \'example.com\')\n    .then(result =&gt; {\n        if (result.valid) {\n            // License is valid\n            // License validated successfully\n        } else {\n            // Handle invalid license\n            throw new Error(\'Invalid license\');\n        }\n    })\n    .catch(error =&gt; {\n        // Handle validation error\n    });</code></pre>\n\n<h2>Best Practices</h2>\n<ul>\n    <li><strong>Secure API Keys</strong> - Never expose API keys in client-side code</li>\n    <li><strong>Implement Caching</strong> - Cache validation results to reduce API calls</li>\n    <li><strong>Handle Offline Scenarios</strong> - Graceful degradation when API is unavailable</li>\n    <li><strong>Regular Updates</strong> - Keep integration code updated</li>\n    <li><strong>Monitor Usage</strong> - Track API usage and performance</li>\n</ul>\n\n<h2>Troubleshooting</h2>\n<ul>\n    <li><strong>Connection Issues</strong> - Check network connectivity and firewall settings</li>\n    <li><strong>API Errors</strong> - Verify API credentials and endpoints</li>\n    <li><strong>Domain Validation</strong> - Ensure domain format is correct</li>\n    <li><strong>Rate Limiting</strong> - Implement proper rate limiting handling</li>\n    <li><strong>SSL Issues</strong> - Verify SSL certificate configuration</li>\n</ul>\n\n<p>Proper license integration protects your software while providing a seamless experience for your users. Choose the integration method that best fits your development workflow and technical requirements.</p>', NULL, 0, NULL, 9, 0, 1, '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(12, 3, NULL, 'Settings Configuration', 'settings-configuration', NULL, NULL, '<h1>Settings Configuration</h1>\n\n<p>The settings system allows you to configure various aspects of your License Management System. Proper configuration ensures optimal performance and security.</p>\n\n<h2>General Settings</h2>\n<ul>\n    <li><strong>Site Information</strong>\n        <ul>\n            <li>Site name and tagline</li>\n            <li>Company information</li>\n            <li>Contact details</li>\n            <li>Logo and branding</li>\n        </ul>\n    </li>\n\n    <li><strong>Localization</strong>\n        <ul>\n            <li>Default language</li>\n            <li>Timezone configuration</li>\n            <li>Date and time formats</li>\n            <li>Currency settings</li>\n        </ul>\n    </li>\n\n    <li><strong>System Configuration</strong>\n        <ul>\n            <li>Maintenance mode</li>\n            <li>Debug mode settings</li>\n            <li>Cache configuration</li>\n            <li>Session settings</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>License Settings</h2>\n<ul>\n    <li><strong>License Generation</strong>\n        <ul>\n            <li>License key format</li>\n            <li>Key length configuration</li>\n            <li>Character set options</li>\n            <li>Duplicate prevention</li>\n        </ul>\n    </li>\n\n    <li><strong>Validation Settings</strong>\n        <ul>\n            <li>Domain validation rules</li>\n            <li>Expiration policies</li>\n            <li>Grace period configuration</li>\n            <li>Renewal settings</li>\n        </ul>\n    </li>\n\n    <li><strong>Security Settings</strong>\n        <ul>\n            <li>Encryption methods</li>\n            <li>API rate limiting</li>\n            <li>IP restrictions</li>\n            <li>Audit logging</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>User Management Settings</h2>\n<ul>\n    <li><strong>Authentication</strong>\n        <ul>\n            <li>Password policies</li>\n            <li>Two-factor authentication</li>\n            <li>Session management</li>\n            <li>Login restrictions</li>\n        </ul>\n    </li>\n\n    <li><strong>User Roles & Permissions</strong>\n        <ul>\n            <li>Role definitions</li>\n            <li>Permission management</li>\n            <li>Access control lists</li>\n            <li>User group settings</li>\n        </ul>\n    </li>\n\n    <li><strong>Registration Settings</strong>\n        <ul>\n            <li>Registration requirements</li>\n            <li>Email verification</li>\n            <li>Auto-approval settings</li>\n            <li>User activation</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Email Configuration</h2>\n<ul>\n    <li><strong>SMTP Settings</strong>\n        <ul>\n            <li>SMTP server configuration</li>\n            <li>Authentication settings</li>\n            <li>Encryption options</li>\n            <li>Port configuration</li>\n        </ul>\n    </li>\n\n    <li><strong>Email Templates</strong>\n        <ul>\n            <li>Welcome emails</li>\n            <li>License notifications</li>\n            <li>Password reset emails</li>\n            <li>System notifications</li>\n        </ul>\n    </li>\n\n    <li><strong>Email Preferences</strong>\n        <ul>\n            <li>From address settings</li>\n            <li>Reply-to configuration</li>\n            <li>Email footer settings</li>\n            <li>Unsubscribe options</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Payment Settings</h2>\n<ul>\n    <li><strong>Payment Gateways</strong>\n        <ul>\n            <li>Supported gateways</li>\n            <li>Gateway configuration</li>\n            <li>Test mode settings</li>\n            <li>Currency support</li>\n        </ul>\n    </li>\n\n    <li><strong>Pricing Configuration</strong>\n        <ul>\n            <li>Default pricing</li>\n            <li>Tax settings</li>\n            <li>Discount options</li>\n            <li>Renewal pricing</li>\n        </ul>\n    </li>\n\n    <li><strong>Invoice Settings</strong>\n        <ul>\n            <li>Invoice templates</li>\n            <li>Automatic invoicing</li>\n            <li>Payment reminders</li>\n            <li>Refund policies</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>API Settings</h2>\n<ul>\n    <li><strong>API Configuration</strong>\n        <ul>\n            <li>API key management</li>\n            <li>Rate limiting</li>\n            <li>Webhook settings</li>\n            <li>API versioning</li>\n        </ul>\n    </li>\n\n    <li><strong>Integration Settings</strong>\n        <ul>\n            <li>Third-party integrations</li>\n            <li>OAuth configuration</li>\n            <li>Webhook endpoints</li>\n            <li>API documentation</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Backup & Security</h2>\n<ul>\n    <li><strong>Backup Settings</strong>\n        <ul>\n            <li>Automatic backups</li>\n            <li>Backup frequency</li>\n            <li>Storage locations</li>\n            <li>Backup retention</li>\n        </ul>\n    </li>\n\n    <li><strong>Security Configuration</strong>\n        <ul>\n            <li>SSL/TLS settings</li>\n            <li>Firewall rules</li>\n            <li>Security headers</li>\n            <li>Access logging</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Performance Settings</h2>\n<ul>\n    <li><strong>Caching Configuration</strong>\n        <ul>\n            <li>Cache drivers</li>\n            <li>Cache TTL settings</li>\n            <li>Cache invalidation</li>\n            <li>CDN integration</li>\n        </ul>\n    </li>\n\n    <li><strong>Database Optimization</strong>\n        <ul>\n            <li>Query optimization</li>\n            <li>Database indexing</li>\n            <li>Connection pooling</li>\n            <li>Performance monitoring</li>\n        </ul>\n    </li>\n</ul>\n\n<p>Proper configuration of your settings ensures that your License Management System operates efficiently and securely. Take time to review and configure all settings according to your specific requirements.</p>', NULL, 0, NULL, 10, 0, 1, '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(13, 3, NULL, 'Programming Languages', 'programming-languages', NULL, NULL, '<h1>Programming Languages Support</h1>\n\n<p>Our License Management System provides comprehensive support for 15+ programming languages, making it easy to integrate license validation into applications built with any technology stack.</p>\n\n<h2>Supported Languages</h2>\n<ul>\n    <li><strong>PHP</strong>\n        <ul>\n            <li>Laravel framework integration</li>\n            <li>WordPress plugin support</li>\n            <li>CodeIgniter compatibility</li>\n            <li>Custom PHP applications</li>\n        </ul>\n    </li>\n\n    <li><strong>JavaScript/Node.js</strong>\n        <ul>\n            <li>Express.js applications</li>\n            <li>React and Vue.js apps</li>\n            <li>Electron desktop apps</li>\n            <li>NPM package integration</li>\n        </ul>\n    </li>\n\n    <li><strong>Python</strong>\n        <ul>\n            <li>Django web applications</li>\n            <li>Flask API services</li>\n            <li>Data science applications</li>\n            <li>Automation scripts</li>\n        </ul>\n    </li>\n\n    <li><strong>Java</strong>\n        <ul>\n            <li>Spring Boot applications</li>\n            <li>Android applications</li>\n            <li>Enterprise Java applications</li>\n            <li>Maven/Gradle projects</li>\n        </ul>\n    </li>\n\n    <li><strong>C#</strong>\n        <ul>\n            <li>.NET Core applications</li>\n            <li>ASP.NET web applications</li>\n            <li>Unity game development</li>\n            <li>Windows applications</li>\n        </ul>\n    </li>\n\n    <li><strong>C++</strong>\n        <ul>\n            <li>Cross-platform applications</li>\n            <li>Game development</li>\n            <li>System utilities</li>\n            <li>Embedded systems</li>\n        </ul>\n    </li>\n\n    <li><strong>Ruby</strong>\n        <ul>\n            <li>Ruby on Rails applications</li>\n            <li>Sinatra web services</li>\n            <li>Command-line tools</li>\n            <li>Gem package integration</li>\n        </ul>\n    </li>\n\n    <li><strong>Go</strong>\n        <ul>\n            <li>Cloud-native applications</li>\n            <li>Microservices architecture</li>\n            <li>DevOps tools</li>\n            <li>CLI applications</li>\n        </ul>\n    </li>\n\n    <li><strong>Rust</strong>\n        <ul>\n            <li>System programming</li>\n            <li>Performance-critical applications</li>\n            <li>WebAssembly applications</li>\n            <li>Command-line utilities</li>\n        </ul>\n    </li>\n\n    <li><strong>Swift</strong>\n        <ul>\n            <li>iOS applications</li>\n            <li>macOS applications</li>\n            <li>Server-side Swift</li>\n            <li>Cross-platform development</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Language Features</h2>\n<ul>\n    <li><strong>Pre-built Integration Templates</strong>\n        <ul>\n            <li>Ready-to-use code examples</li>\n            <li>Language-specific best practices</li>\n            <li>Framework-specific implementations</li>\n            <li>Security considerations</li>\n        </ul>\n    </li>\n\n    <li><strong>Automatic Code Generation</strong>\n        <ul>\n            <li>License validation code</li>\n            <li>Integration boilerplate</li>\n            <li>Configuration files</li>\n            <li>Documentation templates</li>\n        </ul>\n    </li>\n\n    <li><strong>Language-specific Documentation</strong>\n        <ul>\n            <li>Detailed integration guides</li>\n            <li>API reference documentation</li>\n            <li>Troubleshooting guides</li>\n            <li>Code examples and samples</li>\n        </ul>\n    </li>\n\n    <li><strong>Community Support</strong>\n        <ul>\n            <li>Developer forums</li>\n            <li>Code repositories</li>\n            <li>Issue tracking</li>\n            <li>Community contributions</li>\n        </ul>\n    </li>\n\n    <li><strong>Regular Updates</strong>\n        <ul>\n            <li>Framework compatibility</li>\n            <li>Security patches</li>\n            <li>Performance improvements</li>\n            <li>New feature support</li>\n        </ul>\n    </li>\n</ul>\n\n<h2>Integration Methods by Language</h2>\n<h3>Web Languages (PHP, JavaScript, Python, Ruby)</h3>\n<ul>\n    <li>Server-side validation</li>\n    <li>Client-side integration</li>\n    <li>API-based validation</li>\n    <li>Framework-specific plugins</li>\n</ul>\n\n<h3>System Languages (C++, Rust, Go)</h3>\n<ul>\n    <li>Native library integration</li>\n    <li>HTTP client implementation</li>\n    <li>Offline validation support</li>\n    <li>Performance optimization</li>\n</ul>\n\n<h3>Mobile Languages (Java, Swift)</h3>\n<ul>\n    <li>Platform-specific SDKs</li>\n    <li>Network security</li>\n    <li>Offline license caching</li>\n    <li>App store compliance</li>\n</ul>\n\n<h3>.NET Languages (C#)</h3>\n<ul>\n    <li>NuGet package integration</li>\n    <li>.NET Core compatibility</li>\n    <li>ASP.NET integration</li>\n    <li>Windows-specific features</li>\n</ul>\n\n<h2>Adding New Languages</h2>\n<ol>\n    <li><strong>Language Assessment</strong>\n        <ul>\n            <li>Evaluate language popularity</li>\n            <li>Assess integration complexity</li>\n            <li>Review community support</li>\n            <li>Check framework compatibility</li>\n        </ul>\n    </li>\n\n    <li><strong>Technical Implementation</strong>\n        <ul>\n            <li>Develop language-specific SDK</li>\n            <li>Create integration templates</li>\n            <li>Implement validation logic</li>\n            <li>Test cross-platform compatibility</li>\n        </ul>\n    </li>\n\n    <li><strong>Documentation Creation</strong>\n        <ul>\n            <li>Write integration guides</li>\n            <li>Create code examples</li>\n            <li>Develop troubleshooting guides</li>\n            <li>Prepare API documentation</li>\n        </ul>\n    </li>\n\n    <li><strong>Testing & Validation</strong>\n        <ul>\n            <li>Unit testing implementation</li>\n            <li>Integration testing</li>\n            <li>Performance benchmarking</li>\n            <li>Security testing</li>\n        </ul>\n    </li>\n\n    <li><strong>Community Engagement</strong>\n        <ul>\n            <li>Publish open-source SDKs</li>\n            <li>Create developer documentation</li>\n            <li>Establish support channels</li>\n            <li>Gather community feedback</li>\n        </ul>\n    </li>\n</ol>\n\n<h2>Language-specific Best Practices</h2>\n<ul>\n    <li><strong>PHP</strong> - Use Composer for dependency management, implement PSR standards</li>\n    <li><strong>JavaScript</strong> - Utilize npm/yarn, consider module bundlers, implement error boundaries</li>\n    <li><strong>Python</strong> - Use pip for packages, implement proper exception handling, consider async patterns</li>\n    <li><strong>Java</strong> - Use Maven/Gradle, implement proper logging, consider thread safety</li>\n    <li><strong>C#</strong> - Use NuGet packages, implement async/await patterns, use dependency injection</li>\n    <li><strong>C++</strong> - Use CMake for builds, implement RAII patterns, consider cross-platform compatibility</li>\n    <li><strong>Ruby</strong> - Use Bundler for gems, follow Ruby conventions, implement proper error handling</li>\n    <li><strong>Go</strong> - Use Go modules, implement proper error handling, consider goroutine safety</li>\n</ul>\n\n<h2>Performance Considerations</h2>\n<ul>\n    <li><strong>Interpreted Languages</strong> - Optimize validation frequency, implement caching</li>\n    <li><strong>Compiled Languages</strong> - Minimize network calls, implement connection pooling</li>\n    <li><strong>Mobile Platforms</strong> - Consider battery impact, implement offline validation</li>\n    <li><strong>Web Applications</strong> - Implement client-side caching, use service workers</li>\n</ul>\n\n<p>Our comprehensive language support ensures that developers can easily integrate license validation regardless of their technology stack. Choose the languages that best fit your development needs and follow our detailed integration guides for each supported language.</p>', NULL, 0, NULL, 11, 0, 1, '2025-09-24 01:47:22', '2025-09-24 01:47:22'),
(14, 1, NULL, 'Getting Started with EasyDropshopping Ecommerce Saas', 'getting-started-easydropshopping-ecommerce-saas', 'Introduction to EasyDropshopping Ecommerce Saas', '/assets/images/kb/generic.jpg', '<h1>Getting Started with EasyDropshopping Ecommerce Saas</h1>\r\n\r\n<p>Welcome to the EasyDropshopping Ecommerce Saas section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for EasyDropshopping Ecommerce Saas.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', NULL, 0, NULL, 0, 77, 1, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(15, 2, NULL, 'Getting Started with Easy Ecommerce', 'getting-started-easy-ecommerce', 'Introduction to Easy Ecommerce', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Easy Ecommerce</h1>\r\n\r\n<p>Welcome to the Easy Ecommerce section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Easy Ecommerce.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', NULL, 0, NULL, 0, 102, 1, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(16, 3, NULL, 'Getting Started with The Ultimate License Management System', 'getting-started-ultimate-license-management-system', 'Introduction to The Ultimate License Management System', '/assets/images/kb/generic.jpg', '<h1>Getting Started with The Ultimate License Management System</h1>\r\n\r\n<p>Welcome to the The Ultimate License Management System section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for The Ultimate License Management System.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', NULL, 0, NULL, 0, 179, 1, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(17, 4, 1, 'System Requirements Overview', 'system-requirements-overview', 'Complete system requirements for the License Management System', '/assets/images/kb/system-requirements.jpg', '<h1>System Requirements</h1>\r\n\r\n<p>Before installing the License Management System, ensure your server meets the following requirements:</p>\r\n\r\n<h2>Server Requirements</h2>\r\n<ul>\r\n    <li><strong>PHP Version:</strong> 8.1 or higher (8.2 recommended)</li>\r\n    <li><strong>Database:</strong> MySQL 5.7+ or MariaDB 10.3+</li>\r\n    <li><strong>Web Server:</strong> Apache 2.4+ or Nginx 1.20+</li>\r\n    <li><strong>Memory:</strong> 512MB+ RAM (1GB recommended)</li>\r\n    <li><strong>Storage:</strong> 500MB+ free disk space</li>\r\n    <li><strong>SSL Certificate:</strong> Required for production</li>\r\n</ul>\r\n\r\n<h2>PHP Extensions</h2>\r\n<ul>\r\n    <li>OpenSSL PHP Extension</li>\r\n    <li>PDO PHP Extension</li>\r\n    <li>Mbstring PHP Extension</li>\r\n    <li>Tokenizer PHP Extension</li>\r\n    <li>XML PHP Extension</li>\r\n    <li>Ctype PHP Extension</li>\r\n    <li>JSON PHP Extension</li>\r\n    <li>BCMath PHP Extension</li>\r\n    <li>Fileinfo PHP Extension</li>\r\n</ul>\r\n\r\n<h2>Recommended Settings</h2>\r\n<ul>\r\n    <li><strong>max_execution_time:</strong> 300 seconds</li>\r\n    <li><strong>memory_limit:</strong> 256M or higher</li>\r\n    <li><strong>upload_max_filesize:</strong> 50M or higher</li>\r\n    <li><strong>post_max_size:</strong> 50M or higher</li>\r\n</ul>', 'REQ-ART-001', 1, 'This article requires a valid license to view.', 0, 346, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(18, 5, 1, 'API Authentication', 'api-authentication', 'How to authenticate with the API', '/assets/images/kb/api-auth.jpg', '<h1>API Authentication</h1>\r\n\r\n<p>The License Management System API uses API keys for authentication. Here\'s how to get started:</p>\r\n\r\n<h2>Generating API Keys</h2>\r\n<ol>\r\n    <li>Log in to your admin panel</li>\r\n    <li>Navigate to Settings → API Keys</li>\r\n    <li>Click \"Generate New Key\"</li>\r\n    <li>Copy and store your API key securely</li>\r\n</ol>\r\n\r\n<h2>Using API Keys</h2>\r\n<p>Include your API key in the request header:</p>\r\n<pre><code>Authorization: Bearer YOUR_API_KEY</code></pre>\r\n\r\n<h2>Example Request</h2>\r\n<pre><code>curl -X GET \"https://your-domain.com/api/licenses\" \\\r\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\r\n  -H \"Accept: application/json\"</code></pre>\r\n\r\n<h2>Rate Limiting</h2>\r\n<ul>\r\n    <li>1000 requests per hour per API key</li>\r\n    <li>Rate limit headers included in responses</li>\r\n    <li>Contact support for higher limits</li>\r\n</ul>', 'API-AUTH-001', 1, 'API documentation requires valid license.', 0, 213, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(19, 5, 1, 'License Validation Endpoint', 'license-validation-endpoint', 'Validate licenses using the API', '/assets/images/kb/license-validation.jpg', '<h1>License Validation Endpoint</h1>\r\n\r\n<p>Validate licenses using the API endpoint:</p>\r\n\r\n<h2>Endpoint</h2>\r\n<pre><code>POST /api/validate</code></pre>\r\n\r\n<h2>Request Body</h2>\r\n<pre><code>{\r\n    \"license_key\": \"YOUR_LICENSE_KEY\",\r\n    \"domain\": \"example.com\",\r\n    \"product_id\": 1\r\n}</code></pre>\r\n\r\n<h2>Response</h2>\r\n<pre><code>{\r\n    \"valid\": true,\r\n    \"license\": {\r\n        \"id\": 123,\r\n        \"product_name\": \"Ultimate License Management System\",\r\n        \"expires_at\": \"2026-12-31T23:59:59Z\",\r\n        \"max_domains\": 5,\r\n        \"domains_used\": 2\r\n    }\r\n}</code></pre>\r\n\r\n<h2>Error Responses</h2>\r\n<pre><code>{\r\n    \"valid\": false,\r\n    \"error\": \"License not found\",\r\n    \"code\": \"LICENSE_NOT_FOUND\"\r\n}</code></pre>', 'API-VALIDATE-001', 1, 'License validation API requires active license.', 0, 379, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(20, 5, 1, 'Webhook Integration', 'webhook-integration', 'Setup webhooks for real-time notifications', '/assets/images/kb/webhooks.jpg', '<h1>Webhook Integration</h1>\r\n\r\n<p>Setup webhooks to receive real-time notifications about license events:</p>\r\n\r\n<h2>Supported Events</h2>\r\n<ul>\r\n    <li><code>license.created</code> - New license created</li>\r\n    <li><code>license.activated</code> - License activated</li>\r\n    <li><code>license.expired</code> - License expired</li>\r\n    <li><code>license.suspended</code> - License suspended</li>\r\n</ul>\r\n\r\n<h2>Webhook URL Setup</h2>\r\n<ol>\r\n    <li>Navigate to Settings → Webhooks</li>\r\n    <li>Add your webhook URL</li>\r\n    <li>Select events to subscribe to</li>\r\n    <li>Test the webhook</li>\r\n</ol>\r\n\r\n<h2>Webhook Payload</h2>\r\n<pre><code>{\r\n    \"event\": \"license.activated\",\r\n    \"data\": {\r\n        \"license_id\": 123,\r\n        \"license_key\": \"XXXX-XXXX-XXXX-XXXX\",\r\n        \"product_name\": \"Ultimate License Management System\",\r\n        \"customer_email\": \"customer@example.com\"\r\n    },\r\n    \"timestamp\": \"2025-09-23T10:30:00Z\"\r\n}</code></pre>', 'WEBHOOK-001', 1, 'Webhook integration requires license.', 0, 397, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(21, 6, 1, 'Creating Licenses', 'creating-licenses', 'How to create and manage licenses', '/assets/images/kb/creating-licenses.jpg', '<h1>Creating Licenses</h1>\r\n\r\n<p>Learn how to create and manage licenses in the system:</p>\r\n\r\n<h2>Manual License Creation</h2>\r\n<ol>\r\n    <li>Navigate to Licenses → Add New</li>\r\n    <li>Select the product</li>\r\n    <li>Choose license type (Regular/Extended)</li>\r\n    <li>Set expiration date</li>\r\n    <li>Configure domain limits</li>\r\n    <li>Generate license</li>\r\n</ol>\r\n\r\n<h2>Bulk License Creation</h2>\r\n<ol>\r\n    <li>Use the bulk import feature</li>\r\n    <li>Upload CSV file with license data</li>\r\n    <li>Map columns to license fields</li>\r\n    <li>Review and confirm import</li>\r\n</ol>\r\n\r\n<h2>License Types</h2>\r\n<ul>\r\n    <li><strong>Regular:</strong> Single domain, 1 year support</li>\r\n    <li><strong>Extended:</strong> Multiple domains, 1 year support</li>\r\n</ul>', 'CREATE-LICENSE-001', 1, 'License creation guide requires valid license.', 0, 218, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(22, 6, 1, 'Domain Management', 'domain-management', 'Manage license domains and restrictions', '/assets/images/kb/domain-management.jpg', '<h1>Domain Management</h1>\r\n\r\n<p>Manage license domains and restrictions:</p>\r\n\r\n<h2>Adding Domains</h2>\r\n<ol>\r\n    <li>Go to License Details</li>\r\n    <li>Click \"Add Domain\"</li>\r\n    <li>Enter domain name</li>\r\n    <li>Set domain status</li>\r\n</ol>\r\n\r\n<h2>Domain Validation</h2>\r\n<ul>\r\n    <li>Automatic domain format validation</li>\r\n    <li>Subdomain support</li>\r\n    <li>Wildcard domain support</li>\r\n</ul>\r\n\r\n<h2>Domain Limits</h2>\r\n<ul>\r\n    <li>Regular License: 1 domain</li>\r\n    <li>Extended License: Up to 5 domains</li>\r\n    <li>Unlimited License: No domain limit</li>\r\n</ul>', 'DOMAIN-MGMT-001', 1, 'Domain management requires active license.', 0, 314, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(23, 7, 1, 'Common Installation Issues', 'common-installation-issues', 'Solutions for common installation problems', '/assets/images/kb/troubleshooting.jpg', '<h1>Common Installation Issues</h1>\r\n\r\n<p>Solutions for common installation problems:</p>\r\n\r\n<h2>Permission Errors</h2>\r\n<p><strong>Problem:</strong> \"Permission denied\" errors during installation</p>\r\n<p><strong>Solution:</strong> Set correct file permissions:</p>\r\n<pre><code>chmod -R 755 storage/\r\nchmod -R 755 bootstrap/cache/</code></pre>\r\n\r\n<h2>Database Connection Failed</h2>\r\n<p><strong>Problem:</strong> Cannot connect to database</p>\r\n<p><strong>Solution:</strong> Check database credentials in .env file</p>\r\n\r\n<h2>Composer Dependencies</h2>\r\n<p><strong>Problem:</strong> Missing dependencies</p>\r\n<p><strong>Solution:</strong> Run composer install</p>', NULL, 0, NULL, 0, 835, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(24, 7, 1, 'Database Connection Errors', 'database-connection-errors', 'Fix database connection issues', '/assets/images/kb/database-errors.jpg', '<h1>Database Connection Errors</h1>\r\n\r\n<p>Fix common database connection issues:</p>\r\n\r\n<h2>Check Database Credentials</h2>\r\n<ol>\r\n    <li>Verify database name, username, and password</li>\r\n    <li>Ensure database server is running</li>\r\n    <li>Check firewall settings</li>\r\n</ol>\r\n\r\n<h2>Test Connection</h2>\r\n<pre><code>php artisan tinker\r\nDB::connection()->getPdo();</code></pre>\r\n\r\n<h2>Common Solutions</h2>\r\n<ul>\r\n    <li>Restart database service</li>\r\n    <li>Check MySQL/MariaDB logs</li>\r\n    <li>Verify user permissions</li>\r\n</ul>', NULL, 0, NULL, 0, 589, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(25, 8, 1, 'Getting Started with System Requirements', 'getting-started-system-requirements', 'Introduction to System Requirements', '/assets/images/kb/generic.jpg', '<h1>Getting Started with System Requirements</h1>\r\n\r\n<p>Welcome to the System Requirements section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for System Requirements.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-SYSTEM-R-001', 1, 'System requirements guide requires license.', 0, 138, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(26, 9, 1, 'Getting Started with Database Setup', 'getting-started-database-setup', 'Introduction to Database Setup', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Database Setup</h1>\r\n\r\n<p>Welcome to the Database Setup section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Database Setup.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-DATABASE-001', 1, 'Database setup requires valid license.', 0, 129, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(27, 10, 1, 'Getting Started with Email Configuration', 'getting-started-email-configuration', 'Introduction to Email Configuration', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Email Configuration</h1>\r\n\r\n<p>Welcome to the Email Configuration section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Email Configuration.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-EMAIL-CO-001', 1, 'Email configuration requires license.', 0, 109, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(28, 11, 2, 'Platform Overview', 'platform-overview', 'Introduction to the dropshipping platform', '/assets/images/kb/platform-overview.jpg', '<h1>Platform Overview</h1>\r\n\r\n<p>Welcome to the EasyDropshopping Ecommerce SaaS platform:</p>\r\n\r\n<h2>Key Features</h2>\r\n<ul>\r\n    <li>Automated dropshipping integration</li>\r\n    <li>Multi-vendor marketplace</li>\r\n    <li>Advanced analytics</li>\r\n    <li>Mobile-responsive design</li>\r\n</ul>\r\n\r\n<h2>Getting Started</h2>\r\n<ol>\r\n    <li>Complete account setup</li>\r\n    <li>Configure store settings</li>\r\n    <li>Connect suppliers</li>\r\n    <li>Add products</li>\r\n    <li>Launch your store</li>\r\n</ol>', 'PLATFORM-001', 1, 'Platform overview requires active license.', 0, 303, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(29, 11, 2, 'First Store Setup', 'first-store-setup', 'Create your first dropshipping store', '/assets/images/kb/first-store.jpg', '<h1>First Store Setup</h1>\r\n\r\n<p>Create your first dropshipping store:</p>\r\n\r\n<h2>Store Configuration</h2>\r\n<ol>\r\n    <li>Set store name and description</li>\r\n    <li>Upload store logo</li>\r\n    <li>Configure store settings</li>\r\n    <li>Set up payment methods</li>\r\n</ol>\r\n\r\n<h2>Supplier Integration</h2>\r\n<ol>\r\n    <li>Add your first supplier</li>\r\n    <li>Import product catalog</li>\r\n    <li>Set pricing rules</li>\r\n    <li>Configure inventory sync</li>\r\n</ol>', 'STORE-SETUP-001', 1, 'Store setup requires valid license.', 0, 416, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(30, 12, 2, 'Adding Suppliers', 'adding-suppliers', 'How to add and manage suppliers', '/assets/images/kb/adding-suppliers.jpg', '<h1>Adding Suppliers</h1>\r\n\r\n<p>How to add and manage suppliers:</p>\r\n\r\n<h2>Supplier Setup</h2>\r\n<ol>\r\n    <li>Navigate to Suppliers → Add New</li>\r\n    <li>Enter supplier information</li>\r\n    <li>Configure API credentials</li>\r\n    <li>Test connection</li>\r\n</ol>\r\n\r\n<h2>Product Import</h2>\r\n<ol>\r\n    <li>Select supplier</li>\r\n    <li>Choose products to import</li>\r\n    <li>Set pricing markup</li>\r\n    <li>Import to store</li>\r\n</ol>', 'SUPPLIER-ADD-001', 1, 'Supplier integration requires license.', 0, 207, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(31, 12, 2, 'Product Import', 'product-import', 'Import products from suppliers', '/assets/images/kb/product-import.jpg', '<h1>Product Import</h1>\r\n\r\n<p>Import products from suppliers:</p>\r\n\r\n<h2>Import Process</h2>\r\n<ol>\r\n    <li>Select supplier catalog</li>\r\n    <li>Filter products by category</li>\r\n    <li>Set import settings</li>\r\n    <li>Review and confirm import</li>\r\n</ol>\r\n\r\n<h2>Import Settings</h2>\r\n<ul>\r\n    <li>Pricing markup percentage</li>\r\n    <li>Category mapping</li>\r\n    <li>Image optimization</li>\r\n    <li>Inventory sync frequency</li>\r\n</ul>', 'IMPORT-001', 1, 'Product import requires active license.', 0, 420, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(32, 13, 2, 'Getting Started with Multi-Vendor Setup', 'getting-started-multi-vendor-setup', 'Introduction to Multi-Vendor Setup', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Multi-Vendor Setup</h1>\r\n\r\n<p>Welcome to the Multi-Vendor Setup section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Multi-Vendor Setup.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-MULTI-VE-001', 1, 'Multi-vendor setup requires license.', 0, 179, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(33, 14, 2, 'Getting Started with Payment Integration', 'getting-started-payment-integration', 'Introduction to Payment Integration', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Payment Integration</h1>\r\n\r\n<p>Welcome to the Payment Integration section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Payment Integration.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-PAYMENT--001', 1, 'Payment integration requires active license.', 0, 126, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(34, 15, 3, 'Basic Configuration', 'basic-configuration', 'Configure your e-commerce store', '/assets/images/kb/basic-config.jpg', '<h1>Basic Configuration</h1>\r\n\r\n<p>Configure your e-commerce store:</p>\r\n\r\n<h2>Store Settings</h2>\r\n<ol>\r\n    <li>Set store name and tagline</li>\r\n    <li>Upload store logo</li>\r\n    <li>Configure contact information</li>\r\n    <li>Set up store policies</li>\r\n</ol>\r\n\r\n<h2>Payment Setup</h2>\r\n<ol>\r\n    <li>Configure payment gateways</li>\r\n    <li>Set up tax settings</li>\r\n    <li>Configure shipping options</li>\r\n    <li>Test payment processing</li>\r\n</ol>', 'CONFIG-001', 1, 'Store configuration requires license.', 0, 567, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(35, 16, 3, 'Getting Started with Product Management', 'getting-started-product-management', 'Introduction to Product Management', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Product Management</h1>\r\n\r\n<p>Welcome to the Product Management section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Product Management.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-PRODUCT--001', 1, 'Product management requires valid license.', 0, 101, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(36, 17, 3, 'Getting Started with Order Processing', 'getting-started-order-processing', 'Introduction to Order Processing', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Order Processing</h1>\r\n\r\n<p>Welcome to the Order Processing section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Order Processing.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-ORDER-PR-001', 1, 'Order processing requires license.', 0, 150, 1, '2025-09-24 01:47:28', '2025-09-24 01:47:28'),
(37, 18, 4, 'Creating Your First Form', 'creating-first-form', 'Build your first contact form', '/assets/images/kb/first-form.jpg', '<h1>Creating Your First Form</h1>\r\n\r\n<p>Build your first contact form:</p>\r\n\r\n<h2>Form Builder</h2>\r\n<ol>\r\n    <li>Drag and drop form fields</li>\r\n    <li>Configure field properties</li>\r\n    <li>Set up validation rules</li>\r\n    <li>Customize form styling</li>\r\n</ol>\r\n\r\n<h2>Form Settings</h2>\r\n<ul>\r\n    <li>Email notifications</li>\r\n    <li>Database storage</li>\r\n    <li>Spam protection</li>\r\n    <li>Success messages</li>\r\n</ul>', 'FORM-CREATE-001', 1, 'Form builder requires active license.', 0, 278, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(38, 19, 4, 'Getting Started with Spam Protection', 'getting-started-spam-protection', 'Introduction to Spam Protection', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Spam Protection</h1>\r\n\r\n<p>Welcome to the Spam Protection section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Spam Protection.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-SPAM-PRO-001', 1, 'Spam protection requires valid license.', 0, 119, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(39, 20, 4, 'Getting Started with Email Notifications', 'getting-started-email-notifications', 'Introduction to Email Notifications', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Email Notifications</h1>\r\n\r\n<p>Welcome to the Email Notifications section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Email Notifications.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-EMAIL-NO-001', 1, 'Email notifications require license.', 0, 87, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(40, 21, 5, 'React Native Setup', 'react-native-setup', 'Setup React Native development environment', '/assets/images/kb/react-native.jpg', '<h1>React Native Setup</h1>\r\n\r\n<p>Setup React Native development environment:</p>\r\n\r\n<h2>Prerequisites</h2>\r\n<ul>\r\n    <li>Node.js 16+</li>\r\n    <li>React Native CLI</li>\r\n    <li>Android Studio (for Android)</li>\r\n    <li>Xcode (for iOS)</li>\r\n</ul>\r\n\r\n<h2>Installation</h2>\r\n<ol>\r\n    <li>Install React Native CLI</li>\r\n    <li>Create new project</li>\r\n    <li>Install dependencies</li>\r\n    <li>Configure development environment</li>\r\n</ol>', 'RN-SETUP-001', 1, 'React Native setup requires license.', 0, 161, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(41, 22, 5, 'Getting Started with Team Collaboration', 'getting-started-team-collaboration', 'Introduction to Team Collaboration', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Team Collaboration</h1>\r\n\r\n<p>Welcome to the Team Collaboration section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Team Collaboration.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-TEAM-COL-001', 1, 'Team collaboration requires valid license.', 0, 100, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(42, 23, 5, 'Getting Started with Deployment', 'getting-started-deployment', 'Introduction to Deployment', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Deployment</h1>\r\n\r\n<p>Welcome to the Deployment section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Deployment.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-DEPLOYME-001', 1, 'Deployment guide requires license.', 0, 153, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(43, 24, 6, 'Color Scheme Setup', 'color-scheme-setup', 'Customize your admin dashboard colors', '/assets/images/kb/color-scheme.jpg', '<h1>Color Scheme Setup</h1>\r\n\r\n<p>Customize your admin dashboard colors:</p>\r\n\r\n<h2>Theme Colors</h2>\r\n<ol>\r\n    <li>Navigate to Theme Settings</li>\r\n    <li>Choose primary color</li>\r\n    <li>Set secondary colors</li>\r\n    <li>Preview changes</li>\r\n</ol>\r\n\r\n<h2>Custom CSS</h2>\r\n<p>Add custom CSS for advanced styling:</p>\r\n<pre><code>.custom-header {\r\n    background: #your-color;\r\n}</code></pre>', 'COLORS-001', 1, 'Theme customization requires license.', 0, 163, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(44, 25, 6, 'Getting Started with Component Library', 'getting-started-component-library', 'Introduction to Component Library', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Component Library</h1>\r\n\r\n<p>Welcome to the Component Library section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Component Library.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-COMPONEN-001', 1, 'Component library requires valid license.', 0, 156, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29'),
(45, 26, 6, 'Getting Started with Responsive Design', 'getting-started-responsive-design', 'Introduction to Responsive Design', '/assets/images/kb/generic.jpg', '<h1>Getting Started with Responsive Design</h1>\r\n\r\n<p>Welcome to the Responsive Design section. This guide will help you get started with the basic features and configurations.</p>\r\n\r\n<h2>Overview</h2>\r\n<p>This section covers the essential features and settings for Responsive Design.</p>\r\n\r\n<h2>Next Steps</h2>\r\n<ol>\r\n    <li>Review the available options</li>\r\n    <li>Configure basic settings</li>\r\n    <li>Test functionality</li>\r\n    <li>Explore advanced features</li>\r\n</ol>', 'GEN-RESPONSI-001', 1, 'Responsive design requires license.', 0, 55, 1, '2025-09-24 01:47:29', '2025-09-24 01:47:29');

-- --------------------------------------------------------

--
-- بنية الجدول `kb_categories`
--

CREATE TABLE `kb_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `serial` varchar(255) DEFAULT NULL,
  `requires_serial` tinyint(1) NOT NULL DEFAULT 0,
  `serial_message` text DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_published` tinyint(1) NOT NULL DEFAULT 1,
  `parent_id` bigint(20) UNSIGNED DEFAULT NULL,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `kb_categories`
--

INSERT INTO `kb_categories` (`id`, `name`, `slug`, `description`, `serial`, `requires_serial`, `serial_message`, `sort_order`, `is_published`, `parent_id`, `product_id`, `created_at`, `updated_at`) VALUES
(1, 'EasyDropshopping Ecommerce Saas', 'easydropshopping-ecommerce-saas', 'Complete e-commerce SaaS solution for dropshipping businesses', NULL, 0, NULL, 1, 1, NULL, NULL, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(2, 'Easy Ecommerce', 'easy-ecommerce', 'Simple and powerful e-commerce platform', NULL, 0, NULL, 2, 1, NULL, NULL, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(3, 'The Ultimate License Management System', 'ultimate-license-management-system', 'Comprehensive license management system with advanced features', NULL, 0, NULL, 3, 1, NULL, NULL, '2025-09-24 01:47:21', '2025-09-24 01:47:21'),
(4, 'Installation & Setup', 'installation-setup', 'Complete installation guide and initial setup for the License Management System', 'INSTALL-001', 1, 'This section requires a valid license to access installation guides.', 1, 1, NULL, 1, '2025-09-24 01:47:26', '2025-09-24 01:47:26'),
(5, 'API Documentation', 'api-documentation', 'Complete API reference and integration examples', 'API-001', 1, 'API documentation is available for licensed users only.', 2, 1, NULL, 1, '2025-09-24 01:47:26', '2025-09-24 01:47:26'),
(6, 'License Management', 'license-management', 'Advanced license management features and configurations', 'LICENSE-001', 1, 'License management guides require active license.', 3, 1, NULL, 1, '2025-09-24 01:47:26', '2025-09-24 01:47:26'),
(7, 'Troubleshooting', 'troubleshooting', 'Common issues and their solutions', 'TROUBLESHOOT-001', 0, NULL, 4, 1, NULL, 1, '2025-09-24 01:47:26', '2025-09-24 01:47:26'),
(8, 'System Requirements', 'system-requirements', 'Server requirements and compatibility', 'REQ-001', 1, 'System requirements guide requires license.', 1, 1, 4, 1, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(9, 'Database Setup', 'database-setup', 'Database configuration and migration', 'DB-001', 1, 'Database setup requires valid license.', 2, 1, 4, 1, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(10, 'Email Configuration', 'email-configuration', 'SMTP and email template setup', 'EMAIL-001', 1, 'Email configuration requires license.', 3, 1, 4, 1, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(11, 'Getting Started', 'getting-started-dropshopping', 'Quick start guide for dropshipping platform', 'DROPSHOP-001', 1, 'Getting started guide requires active license.', 1, 1, NULL, 2, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(12, 'Supplier Integration', 'supplier-integration', 'How to integrate with dropshipping suppliers', 'SUPPLIER-001', 1, 'Supplier integration requires valid license.', 2, 1, NULL, 2, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(13, 'Multi-Vendor Setup', 'multi-vendor-setup', 'Configure multi-vendor marketplace features', 'VENDOR-001', 1, 'Multi-vendor setup requires license.', 3, 1, NULL, 2, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(14, 'Payment Integration', 'payment-integration', 'Payment gateway setup and configuration', 'PAYMENT-001', 1, 'Payment integration requires active license.', 4, 1, NULL, 2, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(15, 'Store Setup', 'store-setup', 'Basic store configuration and settings', 'STORE-001', 1, 'Store setup guide requires license.', 1, 1, NULL, 3, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(16, 'Product Management', 'product-management', 'Add and manage products in your store', 'PRODUCT-001', 1, 'Product management requires valid license.', 2, 1, NULL, 3, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(17, 'Order Processing', 'order-processing', 'Handle orders and customer management', 'ORDER-001', 1, 'Order processing requires license.', 3, 1, NULL, 3, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(18, 'Form Builder', 'form-builder', 'Create and customize contact forms', 'FORM-001', 1, 'Form builder requires active license.', 1, 1, NULL, 4, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(19, 'Spam Protection', 'spam-protection', 'Configure anti-spam features', 'SPAM-001', 1, 'Spam protection requires valid license.', 2, 1, NULL, 4, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(20, 'Email Notifications', 'email-notifications', 'Setup email notifications and templates', 'NOTIFY-001', 1, 'Email notifications require license.', 3, 1, NULL, 4, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(21, 'App Development', 'app-development', 'React Native development setup and configuration', 'APP-001', 1, 'App development requires active license.', 1, 1, NULL, 5, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(22, 'Team Collaboration', 'team-collaboration', 'Setup team features and real-time sync', 'TEAM-001', 1, 'Team collaboration requires valid license.', 2, 1, NULL, 5, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(23, 'Deployment', 'deployment', 'Deploy to iOS and Android app stores', 'DEPLOY-001', 1, 'Deployment guide requires license.', 3, 1, NULL, 5, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(24, 'Theme Customization', 'theme-customization', 'Customize colors, layouts, and branding', 'THEME-001', 1, 'Theme customization requires active license.', 1, 1, NULL, 6, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(25, 'Component Library', 'component-library', 'Use and customize UI components', 'COMPONENT-001', 1, 'Component library requires valid license.', 2, 1, NULL, 6, '2025-09-24 01:47:27', '2025-09-24 01:47:27'),
(26, 'Responsive Design', 'responsive-design', 'Mobile-first responsive design principles', 'RESPONSIVE-001', 1, 'Responsive design requires license.', 3, 1, NULL, 6, '2025-09-24 01:47:27', '2025-09-24 01:47:27');

-- --------------------------------------------------------

--
-- بنية الجدول `licenses`
--

CREATE TABLE `licenses` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `customer_id` bigint(20) UNSIGNED DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `purchase_code` varchar(255) NOT NULL,
  `license_key` varchar(255) NOT NULL,
  `status` enum('active','inactive','suspended','expired') NOT NULL DEFAULT 'active',
  `max_domains` int(10) UNSIGNED NOT NULL DEFAULT 1,
  `license_type` enum('regular','extended') NOT NULL DEFAULT 'regular',
  `supported_until` timestamp NULL DEFAULT NULL,
  `license_expires_at` timestamp NULL DEFAULT NULL,
  `support_expires_at` timestamp NULL DEFAULT NULL,
  `purchase_date` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `licenses`
--

INSERT INTO `licenses` (`id`, `product_id`, `customer_id`, `user_id`, `purchase_code`, `license_key`, `status`, `max_domains`, `license_type`, `supported_until`, `license_expires_at`, `support_expires_at`, `purchase_date`, `notes`, `created_at`, `updated_at`) VALUES
(1, 1, NULL, 5, 'ULMS-QLX3NXACJBJY', 'JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ', 'active', 5, 'extended', NULL, '2026-09-24 01:47:32', '2026-09-24 01:47:32', NULL, 'Extended license for commercial use with 5 domain limit.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(2, 1, NULL, 4, 'ULMS-3JZQHONAWVEG', '0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7', 'active', 1, 'regular', NULL, '2026-09-24 01:47:32', '2026-03-24 02:47:32', NULL, 'Regular license for single domain use.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(3, 2, NULL, 4, 'EDES-V9L1VPV9ZP6P', 'CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ', 'active', 10, 'extended', NULL, '2026-09-24 01:47:32', '2026-09-24 01:47:32', NULL, 'Extended license for multi-domain e-commerce platform.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(4, 2, NULL, 4, 'EDES-4HWTMEOUUAJV', 'NPRZEN6VQHA5TXKNTHXEPFFMOM9N47P0', 'expired', 1, 'regular', NULL, '2026-09-24 01:47:32', '2026-03-24 02:47:32', NULL, 'Expired license - needs renewal.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(5, 3, NULL, 6, 'EEP-HYZ6HK9Q8DOR', '6NX4TN0GJUBI1G69VWBKPEUS2HX7TPHO', 'active', 1, 'regular', NULL, '2026-09-24 01:47:32', '2026-03-24 02:47:32', NULL, 'Regular license for small business e-commerce.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(6, 3, NULL, 5, 'EEP-XYRASEYKJQ5T', 'XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY', 'active', 1, 'regular', NULL, '2026-03-24 02:47:32', '2025-12-24 02:47:32', NULL, 'License expiring soon - renewal recommended.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(7, 4, NULL, 6, 'ACFP-AVIUEAZCOFT0', 'MHIHWO5EHCT98OECZRXP0OKITHIVMAKT', 'active', 1, 'regular', NULL, '2026-09-24 01:47:32', '2026-03-24 02:47:32', NULL, 'WordPress plugin license for single site.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(8, 4, NULL, 5, 'ACFP-IOMRQSTA7WDW', '4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB', 'active', 5, 'extended', NULL, '2026-09-24 01:47:32', '2026-09-24 01:47:32', NULL, 'Extended license for multiple WordPress sites.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(9, 5, NULL, 5, 'TMA-ZVDPLKQDD6HM', 'LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY', 'active', 3, 'extended', NULL, '2026-09-24 01:47:32', '2026-09-24 01:47:32', NULL, 'Mobile app license for team collaboration.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(10, 6, NULL, 2, 'MAD-DM8HHPJTEH11', 'ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0', 'active', 1, 'regular', NULL, '2026-09-24 01:47:32', '2026-03-24 02:47:32', NULL, 'Admin template license for single project.', '2025-09-24 01:47:32', '2025-09-24 01:47:32'),
(11, 6, NULL, 3, 'MAD-FOARWDF3XWQS', '0YGGJCOEJTSZBWFIYNJJXAAM6PFBMMPR', 'suspended', 1, 'regular', NULL, '2025-12-24 02:47:32', '2025-08-25 01:47:32', NULL, 'Suspended license due to policy violation.', '2025-09-24 01:47:33', '2025-09-24 01:47:33'),
(12, 1, NULL, 4, 'ULMS-MBXTU6PBEQPB', '3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0', 'active', 3, 'extended', NULL, '2026-03-24 02:47:32', '2025-12-24 02:47:32', NULL, 'License expiring in 3 months - renewal needed.', '2025-09-24 01:47:33', '2025-09-24 01:47:33'),
(13, 2, NULL, 2, 'EDES-3TFZX1WUNZRW', 'IS9RHRWPNTDJD61BZHBN1DB4CAUM5NKT', 'expired', 1, 'regular', NULL, '2025-11-24 02:47:32', '2025-09-09 01:47:32', NULL, 'Support expired, license still valid for 2 months.', '2025-09-24 01:47:33', '2025-09-24 01:47:33'),
(14, 3, NULL, 2, 'EEP-X6ELIFOCXDXL', 'MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V', 'active', 1, 'regular', NULL, '2026-09-24 01:47:32', '2026-09-24 01:47:32', NULL, 'Recently renewed license with full support.', '2025-09-24 01:47:33', '2025-09-24 01:47:33');

-- --------------------------------------------------------

--
-- بنية الجدول `license_domains`
--

CREATE TABLE `license_domains` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `license_id` bigint(20) UNSIGNED NOT NULL,
  `domain` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `license_domains`
--

INSERT INTO `license_domains` (`id`, `license_id`, `domain`, `status`, `created_at`, `updated_at`) VALUES
(1, 1, 'example.com', 'active', '2025-07-07 01:47:33', '2025-09-10 01:47:33'),
(2, 1, 'testwebsite.com', 'suspended', '2025-07-20 01:47:33', '2025-09-13 01:47:33'),
(3, 1, 'myapp.com', 'active', '2025-07-26 01:47:33', '2025-09-05 01:47:33'),
(4, 2, 'example.com', 'active', '2025-08-02 01:47:33', '2025-09-18 01:47:33'),
(5, 3, 'example.com', 'active', '2025-08-30 01:47:33', '2025-09-21 01:47:33'),
(6, 3, 'testwebsite.com', 'active', '2025-09-03 01:47:33', '2025-09-15 01:47:33'),
(7, 3, 'myapp.com', 'active', '2025-07-05 01:47:33', '2025-09-16 01:47:33'),
(8, 3, 'businesssite.com', 'suspended', '2025-07-11 01:47:33', '2025-09-22 01:47:33'),
(9, 3, 'portfolio.com', 'active', '2025-07-19 01:47:33', '2025-08-27 01:47:33'),
(10, 3, 'blog.example.com', 'active', '2025-07-16 01:47:33', '2025-08-28 01:47:33'),
(11, 3, 'shop.mystore.com', 'suspended', '2025-07-31 01:47:33', '2025-09-16 01:47:33'),
(12, 5, 'example.com', 'active', '2025-08-22 01:47:33', '2025-09-10 01:47:33'),
(13, 6, 'example.com', 'active', '2025-09-14 01:47:33', '2025-08-25 01:47:33'),
(14, 7, 'example.com', 'active', '2025-07-07 01:47:33', '2025-09-02 01:47:33'),
(15, 8, 'example.com', 'suspended', '2025-07-01 01:47:33', '2025-08-31 01:47:33'),
(16, 8, 'testwebsite.com', 'active', '2025-09-23 01:47:33', '2025-09-14 01:47:33'),
(17, 8, 'myapp.com', 'active', '2025-07-10 01:47:33', '2025-08-28 01:47:33'),
(18, 9, 'example.com', 'active', '2025-07-09 01:47:33', '2025-09-16 01:47:33'),
(19, 10, 'example.com', 'suspended', '2025-08-01 01:47:33', '2025-09-23 01:47:33'),
(20, 12, 'example.com', 'active', '2025-07-07 01:47:33', '2025-09-17 01:47:33'),
(21, 12, 'testwebsite.com', 'active', '2025-06-29 01:47:33', '2025-09-11 01:47:33'),
(22, 14, 'example.com', 'active', '2025-07-15 01:47:33', '2025-09-03 01:47:33');

-- --------------------------------------------------------

--
-- بنية الجدول `license_logs`
--

CREATE TABLE `license_logs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `license_id` bigint(20) UNSIGNED NOT NULL,
  `domain` varchar(255) NOT NULL,
  `ip_address` varchar(255) NOT NULL,
  `serial` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `request_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`request_data`)),
  `response_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_data`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `license_logs`
--

INSERT INTO `license_logs` (`id`, `license_id`, `domain`, `ip_address`, `serial`, `status`, `user_agent`, `request_data`, `response_data`, `created_at`, `updated_at`) VALUES
(1, 1, 'portfolio.com', '203.0.113.67', 'ULMS-QLX3NXACJBJY', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-07T04:47:34.511488Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"467ms\"}', '2025-09-14 18:14:34', '2025-08-27 16:33:34'),
(2, 1, 'portfolio.com', '203.0.113.67', 'ULMS-QLX3NXACJBJY', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-23T04:47:34.511926Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"493ms\"}', '2025-09-11 20:42:34', '2025-09-08 06:57:34'),
(3, 1, 'shop.mystore.com', '203.0.113.45', 'ULMS-QLX3NXACJBJY', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-09T04:47:34.512138Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"317ms\"}', '2025-09-22 00:27:34', '2025-09-21 07:32:34'),
(4, 1, 'app.developer.com', '198.51.100.89', 'ULMS-QLX3NXACJBJY', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-21T04:47:34.512343Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License validation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"188ms\"}', '2025-08-31 11:45:34', '2025-08-30 09:30:34'),
(5, 1, 'testwebsite.com', '203.0.113.45', 'ULMS-QLX3NXACJBJY', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"domain_change\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-24T04:47:34.512545Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"418ms\"}', '2025-08-27 12:51:34', '2025-08-26 03:01:34'),
(6, 1, 'portfolio.com', '198.51.100.89', 'ULMS-QLX3NXACJBJY', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"domain_change\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-22T04:47:34.512739Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"353ms\"}', '2025-08-28 19:14:34', '2025-09-01 13:53:34'),
(7, 1, 'app.developer.com', '172.16.0.25', 'ULMS-QLX3NXACJBJY', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-08-30T04:47:34.512962Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"168ms\"}', '2025-08-24 07:57:34', '2025-09-22 16:07:34'),
(8, 1, 'blog.example.com', '172.16.0.25', 'ULMS-QLX3NXACJBJY', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-09T04:47:34.513164Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"455ms\"}', '2025-08-30 16:33:34', '2025-09-09 09:07:34'),
(9, 1, 'businesssite.com', '192.168.1.100', 'ULMS-QLX3NXACJBJY', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-08-29T04:47:34.513365Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"493ms\"}', '2025-09-05 15:47:34', '2025-09-04 02:40:34'),
(10, 1, 'myapp.com', '10.0.0.50', 'ULMS-QLX3NXACJBJY', 'error', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"JOZRHYCD1V09ZIJTIMIUTPUZZL2E6ZIQ\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-11T04:47:34.513560Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License deactivation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"268ms\",\"error_code\":\"LICENSE_DEACTIVATE_FAILED\",\"error_details\":\"License not found or already deactivated\"}', '2025-09-19 08:52:34', '2025-08-30 14:58:34'),
(11, 2, 'portfolio.com', '203.0.113.67', 'ULMS-3JZQHONAWVEG', 'error', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-01T04:47:34.513763Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"453ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-04 09:43:34', '2025-09-01 09:44:34'),
(12, 2, 'businesssite.com', '198.51.100.89', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"domain_change\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-21T04:47:34.513965Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"388ms\"}', '2025-09-11 21:15:34', '2025-08-29 13:09:34'),
(13, 2, 'app.developer.com', '10.0.0.50', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-03T04:47:34.514165Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"140ms\"}', '2025-09-12 16:35:34', '2025-09-22 00:13:34'),
(14, 2, 'app.developer.com', '203.0.113.67', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-24T04:47:34.514364Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"228ms\"}', '2025-09-23 06:53:34', '2025-09-09 01:14:34'),
(15, 2, 'app.developer.com', '172.16.0.25', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-16T04:47:34.514543Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"456ms\"}', '2025-08-28 17:21:34', '2025-08-31 17:08:34'),
(16, 2, 'portfolio.com', '172.16.0.25', 'ULMS-3JZQHONAWVEG', 'error', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-22T04:47:34.514742Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License validation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"432ms\",\"error_code\":\"LICENSE_VALIDATE_FAILED\",\"error_details\":\"Invalid license key or expired license\"}', '2025-08-29 09:54:34', '2025-08-25 20:23:34'),
(17, 2, 'myapp.com', '192.168.1.100', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-20T04:47:34.514950Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"120ms\"}', '2025-08-29 11:50:34', '2025-09-23 19:28:34'),
(18, 2, 'app.developer.com', '192.168.1.100', 'ULMS-3JZQHONAWVEG', 'error', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-21T04:47:34.515146Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License activation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"379ms\",\"error_code\":\"LICENSE_ACTIVATE_FAILED\",\"error_details\":\"License already activated or domain limit exceeded\"}', '2025-09-10 13:35:34', '2025-08-24 21:24:34'),
(19, 2, 'app.developer.com', '172.16.0.25', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-13T04:47:34.515346Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"108ms\"}', '2025-09-12 02:10:34', '2025-09-19 20:51:34'),
(20, 2, 'example.com', '198.51.100.89', 'ULMS-3JZQHONAWVEG', 'error', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"check_status\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-07T04:47:34.515545Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"308ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-08-24 05:09:34', '2025-09-01 04:23:34'),
(21, 2, 'blog.example.com', '172.16.0.25', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-08-26T04:47:34.515748Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"182ms\"}', '2025-09-07 18:48:34', '2025-09-09 15:00:34'),
(22, 2, 'portfolio.com', '192.168.1.100', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-24T04:47:34.515958Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"68ms\"}', '2025-09-12 02:54:34', '2025-08-30 13:22:34'),
(23, 2, 'myapp.com', '203.0.113.45', 'ULMS-3JZQHONAWVEG', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-13T04:47:34.516151Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"423ms\"}', '2025-09-03 20:48:34', '2025-09-15 01:15:34'),
(24, 2, 'myapp.com', '172.16.0.25', 'ULMS-3JZQHONAWVEG', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"domain_change\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-04T04:47:34.516345Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"307ms\"}', '2025-09-20 18:58:34', '2025-09-12 13:02:34'),
(25, 2, 'testwebsite.com', '203.0.113.45', 'ULMS-3JZQHONAWVEG', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-08-26T04:47:34.516543Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License validation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"464ms\"}', '2025-09-07 19:02:34', '2025-09-14 06:35:34'),
(26, 2, 'testwebsite.com', '172.16.0.25', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-14T04:47:34.516740Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"254ms\"}', '2025-08-27 00:05:34', '2025-09-21 04:29:34'),
(27, 2, 'myapp.com', '203.0.113.12', 'ULMS-3JZQHONAWVEG', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"0QTDPCJIZYUVRXQYRZU0RYNMUJAWA7N7\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-28T04:47:34.517020Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"96ms\"}', '2025-08-24 23:29:34', '2025-09-05 21:44:34'),
(28, 3, 'blog.example.com', '203.0.113.12', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-08T04:47:34.517340Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"398ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-02 22:05:34', '2025-09-11 19:19:34'),
(29, 3, 'shop.mystore.com', '198.51.100.123', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-13T04:47:34.517709Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"471ms\"}', '2025-08-29 06:54:34', '2025-09-11 06:09:34'),
(30, 3, 'testwebsite.com', '203.0.113.45', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-07T04:47:34.518062Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"64ms\"}', '2025-08-30 13:37:34', '2025-08-26 18:44:34'),
(31, 3, 'app.developer.com', '198.51.100.89', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-08-30T04:47:34.518393Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"412ms\"}', '2025-09-03 09:03:34', '2025-09-12 08:57:34'),
(32, 3, 'blog.example.com', '198.51.100.123', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-15T04:47:34.518676Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License activation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"274ms\",\"error_code\":\"LICENSE_ACTIVATE_FAILED\",\"error_details\":\"License already activated or domain limit exceeded\"}', '2025-09-08 16:35:34', '2025-09-03 15:56:34'),
(33, 3, 'portfolio.com', '198.51.100.123', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-08-28T04:47:34.518933Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"358ms\"}', '2025-09-16 01:57:34', '2025-09-13 19:26:34'),
(34, 3, 'example.com', '198.51.100.89', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"example.com\",\"timestamp\":\"2025-08-29T04:47:34.519144Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"135ms\"}', '2025-09-12 16:53:34', '2025-08-31 10:43:34'),
(35, 3, 'myapp.com', '172.16.0.25', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-20T04:47:34.519348Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License validation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"195ms\",\"error_code\":\"LICENSE_VALIDATE_FAILED\",\"error_details\":\"Invalid license key or expired license\"}', '2025-09-09 14:20:34', '2025-09-20 10:16:34'),
(36, 3, 'testwebsite.com', '198.51.100.123', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"deactivate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-21T04:47:34.519571Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"86ms\"}', '2025-09-18 07:50:34', '2025-09-09 13:48:34'),
(37, 3, 'businesssite.com', '203.0.113.67', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-14T04:47:34.519776Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"92ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-05 19:42:34', '2025-09-07 06:57:34'),
(38, 3, 'example.com', '203.0.113.67', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"example.com\",\"timestamp\":\"2025-08-30T04:47:34.519977Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"378ms\"}', '2025-08-27 06:55:34', '2025-09-09 00:34:34'),
(39, 3, 'myapp.com', '203.0.113.12', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-28T04:47:34.520177Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License validation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"182ms\",\"error_code\":\"LICENSE_VALIDATE_FAILED\",\"error_details\":\"Invalid license key or expired license\"}', '2025-08-27 06:07:34', '2025-09-11 08:01:34'),
(40, 3, 'myapp.com', '203.0.113.67', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-04T04:47:34.520392Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"371ms\"}', '2025-09-18 11:34:34', '2025-09-22 10:08:34'),
(41, 3, 'myapp.com', '198.51.100.89', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-16T04:47:34.520594Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"444ms\"}', '2025-08-29 20:29:34', '2025-09-08 08:05:34'),
(42, 3, 'app.developer.com', '203.0.113.45', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-10T04:47:34.520792Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"248ms\"}', '2025-08-24 09:36:34', '2025-09-19 23:16:34'),
(43, 3, 'blog.example.com', '198.51.100.123', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-14T04:47:34.521003Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"279ms\"}', '2025-08-25 01:46:34', '2025-09-13 15:39:34'),
(44, 3, 'myapp.com', '172.16.0.25', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-16T04:47:34.521197Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"96ms\"}', '2025-08-29 14:10:34', '2025-08-24 03:23:34'),
(45, 3, 'shop.mystore.com', '172.16.0.25', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-17T04:47:34.521395Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"305ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-02 08:38:34', '2025-08-31 07:53:34'),
(46, 3, 'blog.example.com', '203.0.113.12', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-06T04:47:34.521592Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"77ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-19 21:56:34', '2025-09-17 12:21:34'),
(47, 3, 'portfolio.com', '172.16.0.25', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-01T04:47:34.521791Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License activation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"232ms\",\"error_code\":\"LICENSE_ACTIVATE_FAILED\",\"error_details\":\"License already activated or domain limit exceeded\"}', '2025-09-19 20:38:34', '2025-09-23 04:17:34'),
(48, 3, 'example.com', '203.0.113.45', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-06T04:47:34.521984Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"196ms\"}', '2025-09-21 20:05:34', '2025-09-18 22:44:34'),
(49, 3, 'myapp.com', '203.0.113.12', 'EDES-V9L1VPV9ZP6P', 'error', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-26T04:47:34.522182Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"266ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-13 17:37:34', '2025-09-01 17:47:34'),
(50, 3, 'example.com', '172.16.0.25', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"domain_change\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-19T04:47:34.522377Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"362ms\"}', '2025-08-29 01:47:34', '2025-09-19 12:53:34'),
(51, 3, 'testwebsite.com', '203.0.113.67', 'EDES-V9L1VPV9ZP6P', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"CJFJ4HKWYFBKEIK0A26W3SNV5EO8IRXJ\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-06T04:47:34.522563Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":10,\"response_time\":\"163ms\"}', '2025-08-31 21:09:34', '2025-09-09 09:53:34'),
(52, 5, 'testwebsite.com', '172.16.0.25', 'EEP-HYZ6HK9Q8DOR', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"6NX4TN0GJUBI1G69VWBKPEUS2HX7TPHO\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-08-26T04:47:34.522761Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"244ms\"}', '2025-08-25 11:03:34', '2025-09-12 16:22:34'),
(53, 5, 'shop.mystore.com', '10.0.0.50', 'EEP-HYZ6HK9Q8DOR', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"6NX4TN0GJUBI1G69VWBKPEUS2HX7TPHO\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-06T04:47:34.522966Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License activation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"482ms\"}', '2025-08-30 02:06:34', '2025-09-16 13:31:34'),
(54, 5, 'myapp.com', '10.0.0.50', 'EEP-HYZ6HK9Q8DOR', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"6NX4TN0GJUBI1G69VWBKPEUS2HX7TPHO\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-28T04:47:34.523164Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"180ms\"}', '2025-09-20 02:27:34', '2025-09-20 00:59:34'),
(55, 5, 'blog.example.com', '203.0.113.45', 'EEP-HYZ6HK9Q8DOR', 'error', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"6NX4TN0GJUBI1G69VWBKPEUS2HX7TPHO\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-16T04:47:34.523355Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License validation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"156ms\",\"error_code\":\"LICENSE_VALIDATE_FAILED\",\"error_details\":\"Invalid license key or expired license\"}', '2025-08-31 23:40:34', '2025-09-23 21:04:34'),
(56, 5, 'app.developer.com', '203.0.113.12', 'EEP-HYZ6HK9Q8DOR', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"6NX4TN0GJUBI1G69VWBKPEUS2HX7TPHO\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-08-26T04:47:34.523558Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"384ms\"}', '2025-09-18 07:25:34', '2025-09-19 10:57:34'),
(57, 5, 'example.com', '172.16.0.25', 'EEP-HYZ6HK9Q8DOR', 'error', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"activate\",\"license_key\":\"6NX4TN0GJUBI1G69VWBKPEUS2HX7TPHO\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-21T04:47:34.523755Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License activation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"188ms\",\"error_code\":\"LICENSE_ACTIVATE_FAILED\",\"error_details\":\"License already activated or domain limit exceeded\"}', '2025-08-24 14:04:34', '2025-09-23 20:27:34'),
(58, 6, 'portfolio.com', '203.0.113.45', 'EEP-XYRASEYKJQ5T', 'error', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"check_status\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-17T04:47:34.523947Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"272ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-18 02:15:34', '2025-08-26 13:14:34'),
(59, 6, 'testwebsite.com', '192.168.1.100', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-15T04:47:34.524147Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"456ms\"}', '2025-08-29 18:14:34', '2025-09-06 13:30:34'),
(60, 6, 'businesssite.com', '203.0.113.67', 'EEP-XYRASEYKJQ5T', 'warning', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-02T04:47:34.524345Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"107ms\"}', '2025-09-18 12:24:34', '2025-09-21 23:24:34'),
(61, 6, 'blog.example.com', '203.0.113.45', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-08-31T04:47:34.524543Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"468ms\"}', '2025-09-08 13:46:34', '2025-09-02 12:48:34'),
(62, 6, 'myapp.com', '203.0.113.45', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-15T04:47:34.524740Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"358ms\"}', '2025-09-14 07:25:34', '2025-09-07 01:40:34'),
(63, 6, 'app.developer.com', '198.51.100.123', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-03T04:47:34.524939Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"407ms\"}', '2025-09-02 01:52:34', '2025-09-08 03:33:34'),
(64, 6, 'blog.example.com', '203.0.113.12', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-18T04:47:34.525144Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"289ms\"}', '2025-09-05 13:50:34', '2025-08-25 17:37:34'),
(65, 6, 'blog.example.com', '203.0.113.12', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-08-31T04:47:34.525342Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"139ms\"}', '2025-09-17 13:51:34', '2025-09-16 12:31:34'),
(66, 6, 'example.com', '172.16.0.25', 'EEP-XYRASEYKJQ5T', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-11T04:47:34.525538Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License validation warning\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"150ms\"}', '2025-09-13 12:09:34', '2025-09-23 00:10:34'),
(67, 6, 'blog.example.com', '172.16.0.25', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-04T04:47:34.525737Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"324ms\"}', '2025-09-12 02:18:34', '2025-09-14 15:36:34'),
(68, 6, 'example.com', '10.0.0.50', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-14T04:47:34.525934Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"340ms\"}', '2025-08-26 02:34:34', '2025-08-27 11:42:34'),
(69, 6, 'app.developer.com', '198.51.100.89', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-08-26T04:47:34.526133Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"441ms\"}', '2025-08-29 12:07:34', '2025-08-29 16:01:34'),
(70, 6, 'blog.example.com', '10.0.0.50', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-21T04:47:34.526331Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"83ms\"}', '2025-09-13 20:04:34', '2025-09-12 18:34:34'),
(71, 6, 'businesssite.com', '198.51.100.89', 'EEP-XYRASEYKJQ5T', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-08-27T04:47:34.526539Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License validation warning\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"115ms\"}', '2025-09-09 10:12:34', '2025-09-02 11:05:34'),
(72, 6, 'blog.example.com', '203.0.113.12', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-08T04:47:34.526737Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"441ms\"}', '2025-09-11 10:55:34', '2025-09-12 22:19:34'),
(73, 6, 'blog.example.com', '198.51.100.123', 'EEP-XYRASEYKJQ5T', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"XVQBZFGTZNRU1K2HJPHX3WH8T8D84EHY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-13T04:47:34.526940Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"306ms\"}', '2025-09-15 11:06:34', '2025-09-07 07:44:34'),
(74, 7, 'portfolio.com', '203.0.113.67', 'ACFP-AVIUEAZCOFT0', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-08T04:47:34.527139Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License status check warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"103ms\"}', '2025-08-30 01:14:34', '2025-09-13 07:20:34'),
(75, 7, 'portfolio.com', '172.16.0.25', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-05T04:47:34.527334Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"107ms\"}', '2025-08-24 20:21:34', '2025-09-08 14:46:34'),
(76, 7, 'blog.example.com', '192.168.1.100', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"check_status\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-09T04:47:34.527531Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"392ms\"}', '2025-09-09 09:34:34', '2025-08-29 00:54:34'),
(77, 7, 'app.developer.com', '203.0.113.45', 'ACFP-AVIUEAZCOFT0', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"activate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-07T04:47:34.527722Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License activation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"306ms\"}', '2025-08-25 02:07:34', '2025-09-21 08:48:34'),
(78, 7, 'example.com', '10.0.0.50', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"example.com\",\"timestamp\":\"2025-08-30T04:47:34.527918Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"443ms\"}', '2025-09-22 06:25:34', '2025-08-29 16:07:34'),
(79, 7, 'businesssite.com', '203.0.113.67', 'ACFP-AVIUEAZCOFT0', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-02T04:47:34.528116Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"410ms\"}', '2025-09-11 11:15:34', '2025-09-19 06:40:34'),
(80, 7, 'businesssite.com', '198.51.100.89', 'ACFP-AVIUEAZCOFT0', 'error', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"domain_change\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-23T04:47:34.528313Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Domain change failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"320ms\",\"error_code\":\"LICENSE_DOMAIN_CHANGE_FAILED\",\"error_details\":\"Domain limit exceeded or invalid domain format\"}', '2025-09-14 01:06:34', '2025-09-05 12:47:34'),
(81, 7, 'app.developer.com', '10.0.0.50', 'ACFP-AVIUEAZCOFT0', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-15T04:47:34.528501Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"438ms\"}', '2025-09-04 18:52:34', '2025-09-20 13:01:34'),
(82, 7, 'businesssite.com', '192.168.1.100', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-08-28T04:47:34.528697Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"327ms\"}', '2025-08-26 06:18:34', '2025-08-26 03:10:34'),
(83, 7, 'example.com', '198.51.100.89', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-17T04:47:34.528906Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"285ms\"}', '2025-09-20 04:12:34', '2025-09-21 13:32:34'),
(84, 7, 'blog.example.com', '203.0.113.67', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-04T04:47:34.529107Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"206ms\"}', '2025-09-13 19:59:34', '2025-09-13 06:40:34'),
(85, 7, 'blog.example.com', '198.51.100.89', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-20T04:47:34.529304Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"76ms\"}', '2025-08-26 20:53:34', '2025-09-16 01:00:34');
INSERT INTO `license_logs` (`id`, `license_id`, `domain`, `ip_address`, `serial`, `status`, `user_agent`, `request_data`, `response_data`, `created_at`, `updated_at`) VALUES
(86, 7, 'myapp.com', '203.0.113.67', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-10T04:47:34.529505Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"466ms\"}', '2025-09-13 00:37:34', '2025-09-12 00:10:34'),
(87, 7, 'portfolio.com', '10.0.0.50', 'ACFP-AVIUEAZCOFT0', 'warning', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-07T04:47:34.529703Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"198ms\"}', '2025-09-19 23:07:34', '2025-09-23 05:27:34'),
(88, 7, 'example.com', '203.0.113.12', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"example.com\",\"timestamp\":\"2025-08-29T04:47:34.529893Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"427ms\"}', '2025-09-04 08:59:34', '2025-09-14 20:18:34'),
(89, 7, 'blog.example.com', '172.16.0.25', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-09T04:47:34.530089Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"388ms\"}', '2025-09-23 09:33:34', '2025-09-13 12:33:34'),
(90, 7, 'testwebsite.com', '198.51.100.123', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"domain_change\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-13T04:47:34.530279Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"105ms\"}', '2025-08-31 22:26:34', '2025-09-05 09:18:34'),
(91, 7, 'myapp.com', '198.51.100.89', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"domain_change\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-05T04:47:34.530477Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"255ms\"}', '2025-09-19 03:28:34', '2025-09-01 07:40:34'),
(92, 7, 'app.developer.com', '203.0.113.67', 'ACFP-AVIUEAZCOFT0', 'error', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-03T04:47:34.530674Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"462ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-08-25 09:58:34', '2025-09-12 20:45:34'),
(93, 7, 'shop.mystore.com', '203.0.113.12', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-08-28T04:47:34.530873Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"74ms\"}', '2025-09-09 00:42:34', '2025-09-18 16:56:34'),
(94, 7, 'app.developer.com', '198.51.100.89', 'ACFP-AVIUEAZCOFT0', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-23T04:47:34.531077Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"147ms\"}', '2025-08-31 18:04:34', '2025-09-13 01:10:34'),
(95, 7, 'shop.mystore.com', '192.168.1.100', 'ACFP-AVIUEAZCOFT0', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"deactivate\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-08-31T04:47:34.531269Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"337ms\"}', '2025-09-01 18:55:34', '2025-09-08 14:53:34'),
(96, 7, 'app.developer.com', '10.0.0.50', 'ACFP-AVIUEAZCOFT0', 'error', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"domain_change\",\"license_key\":\"MHIHWO5EHCT98OECZRXP0OKITHIVMAKT\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-01T04:47:34.531464Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Domain change failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"462ms\",\"error_code\":\"LICENSE_DOMAIN_CHANGE_FAILED\",\"error_details\":\"Domain limit exceeded or invalid domain format\"}', '2025-08-26 00:09:34', '2025-09-02 15:43:34'),
(97, 8, 'shop.mystore.com', '192.168.1.100', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-14T04:47:34.531664Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"182ms\"}', '2025-09-04 20:06:34', '2025-09-21 10:10:34'),
(98, 8, 'shop.mystore.com', '203.0.113.45', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-08-25T04:47:34.531862Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"356ms\"}', '2025-09-15 15:14:34', '2025-08-29 15:06:34'),
(99, 8, 'example.com', '203.0.113.12', 'ACFP-IOMRQSTA7WDW', 'warning', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-18T04:47:34.532060Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"387ms\"}', '2025-09-12 15:21:34', '2025-09-13 03:02:34'),
(100, 8, 'shop.mystore.com', '203.0.113.45', 'ACFP-IOMRQSTA7WDW', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"domain_change\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-18T04:47:34.532257Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"207ms\"}', '2025-08-27 09:57:34', '2025-08-26 14:42:34'),
(101, 8, 'myapp.com', '172.16.0.25', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-14T04:47:34.532455Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"367ms\"}', '2025-08-31 01:07:34', '2025-09-17 10:57:34'),
(102, 8, 'portfolio.com', '198.51.100.89', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-14T04:47:34.532656Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"253ms\"}', '2025-08-25 05:22:34', '2025-09-17 21:25:34'),
(103, 8, 'portfolio.com', '203.0.113.45', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-08-29T04:47:34.532852Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"250ms\"}', '2025-09-02 22:58:34', '2025-09-08 14:52:34'),
(104, 8, 'portfolio.com', '10.0.0.50', 'ACFP-IOMRQSTA7WDW', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-05T04:47:34.533054Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License validation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"102ms\"}', '2025-08-25 04:52:34', '2025-09-15 07:22:34'),
(105, 8, 'portfolio.com', '10.0.0.50', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-07T04:47:34.533287Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"112ms\"}', '2025-09-03 20:36:34', '2025-09-23 08:08:34'),
(106, 8, 'myapp.com', '198.51.100.123', 'ACFP-IOMRQSTA7WDW', 'error', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-11T04:47:34.533488Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Domain change failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"398ms\",\"error_code\":\"LICENSE_DOMAIN_CHANGE_FAILED\",\"error_details\":\"Domain limit exceeded or invalid domain format\"}', '2025-09-21 05:03:34', '2025-09-06 13:16:34'),
(107, 8, 'app.developer.com', '203.0.113.45', 'ACFP-IOMRQSTA7WDW', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-17T04:47:34.533699Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License validation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"480ms\"}', '2025-09-12 12:50:34', '2025-09-03 06:31:34'),
(108, 8, 'myapp.com', '192.168.1.100', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-25T04:47:34.533902Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"94ms\"}', '2025-09-18 12:34:34', '2025-09-06 12:17:34'),
(109, 8, 'blog.example.com', '203.0.113.12', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-02T04:47:34.534410Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"448ms\"}', '2025-08-29 20:30:34', '2025-09-20 20:51:34'),
(110, 8, 'shop.mystore.com', '198.51.100.123', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-08-31T04:47:34.535110Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"396ms\"}', '2025-09-14 01:33:34', '2025-08-25 17:42:34'),
(111, 8, 'portfolio.com', '203.0.113.45', 'ACFP-IOMRQSTA7WDW', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-06T04:47:34.535479Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"431ms\"}', '2025-09-23 11:02:34', '2025-09-14 13:35:34'),
(112, 8, 'portfolio.com', '198.51.100.123', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-18T04:47:34.535807Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"347ms\"}', '2025-09-07 21:12:34', '2025-09-09 19:23:34'),
(113, 8, 'example.com', '203.0.113.12', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-03T04:47:34.536025Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"494ms\"}', '2025-09-07 02:58:34', '2025-09-17 00:06:34'),
(114, 8, 'blog.example.com', '172.16.0.25', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-24T04:47:34.536241Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"81ms\"}', '2025-09-12 14:17:34', '2025-08-31 03:28:34'),
(115, 8, 'shop.mystore.com', '198.51.100.89', 'ACFP-IOMRQSTA7WDW', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"activate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-04T04:47:34.536439Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License activation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"146ms\"}', '2025-09-15 16:42:34', '2025-09-03 23:02:34'),
(116, 8, 'example.com', '203.0.113.45', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-03T04:47:34.536656Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"191ms\"}', '2025-09-13 02:06:34', '2025-09-04 06:21:34'),
(117, 8, 'myapp.com', '203.0.113.12', 'ACFP-IOMRQSTA7WDW', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"deactivate\",\"license_key\":\"4WUI7GJMP6RRLPW96RAV9SEJRBJ3LKZB\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-04T04:47:34.536859Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":5,\"response_time\":\"129ms\"}', '2025-08-27 07:05:34', '2025-09-04 07:01:34'),
(118, 9, 'portfolio.com', '203.0.113.12', 'TMA-ZVDPLKQDD6HM', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-21T04:47:34.537064Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"355ms\"}', '2025-09-03 00:17:34', '2025-09-18 13:48:34'),
(119, 9, 'businesssite.com', '203.0.113.12', 'TMA-ZVDPLKQDD6HM', 'error', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-02T04:47:34.537265Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"328ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-12 15:42:34', '2025-09-10 20:44:34'),
(120, 9, 'blog.example.com', '192.168.1.100', 'TMA-ZVDPLKQDD6HM', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-12T04:47:34.537913Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"425ms\"}', '2025-09-18 02:07:34', '2025-09-08 03:16:34'),
(121, 9, 'myapp.com', '203.0.113.67', 'TMA-ZVDPLKQDD6HM', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"domain_change\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-09T04:47:34.538128Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"446ms\"}', '2025-08-28 04:01:34', '2025-09-14 19:02:34'),
(122, 9, 'app.developer.com', '192.168.1.100', 'TMA-ZVDPLKQDD6HM', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-04T04:47:34.538333Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"82ms\"}', '2025-08-24 19:59:34', '2025-09-21 21:25:34'),
(123, 9, 'blog.example.com', '203.0.113.67', 'TMA-ZVDPLKQDD6HM', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-11T04:47:34.538536Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"225ms\"}', '2025-09-19 11:22:34', '2025-09-19 00:00:34'),
(124, 9, 'app.developer.com', '172.16.0.25', 'TMA-ZVDPLKQDD6HM', 'error', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-23T04:47:34.538738Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License activation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"262ms\",\"error_code\":\"LICENSE_ACTIVATE_FAILED\",\"error_details\":\"License already activated or domain limit exceeded\"}', '2025-09-21 15:22:34', '2025-09-12 22:38:34'),
(125, 9, 'myapp.com', '198.51.100.123', 'TMA-ZVDPLKQDD6HM', 'error', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"check_status\",\"license_key\":\"LFLVEACC9ZS1U3ELOF5GAP2PSBXVVOWY\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-30T04:47:34.538940Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"144ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-10 18:48:34', '2025-08-27 06:44:34'),
(126, 10, 'example.com', '198.51.100.123', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-19T04:47:34.539203Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"189ms\"}', '2025-09-10 00:48:34', '2025-08-31 08:07:34'),
(127, 10, 'app.developer.com', '198.51.100.89', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-19T04:47:34.539403Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"275ms\"}', '2025-09-21 07:08:34', '2025-09-01 22:44:34'),
(128, 10, 'app.developer.com', '203.0.113.67', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-02T04:47:34.539618Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"208ms\"}', '2025-09-16 07:58:34', '2025-09-14 18:13:34'),
(129, 10, 'shop.mystore.com', '203.0.113.45', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-24T04:47:34.539824Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"166ms\"}', '2025-09-20 18:41:34', '2025-09-02 08:32:34'),
(130, 10, 'blog.example.com', '192.168.1.100', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-02T04:47:34.540033Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"464ms\"}', '2025-08-25 17:44:34', '2025-09-17 14:21:34'),
(131, 10, 'blog.example.com', '198.51.100.89', 'MAD-DM8HHPJTEH11', 'warning', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"domain_change\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-01T04:47:34.540254Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"164ms\"}', '2025-09-09 10:34:34', '2025-09-15 09:13:34'),
(132, 10, 'app.developer.com', '203.0.113.12', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-08T04:47:34.540574Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"159ms\"}', '2025-09-04 00:25:34', '2025-09-13 01:46:34'),
(133, 10, 'blog.example.com', '203.0.113.67', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-08T04:47:34.541247Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"424ms\"}', '2025-09-23 07:52:34', '2025-08-28 08:31:34'),
(134, 10, 'blog.example.com', '203.0.113.45', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-07T04:47:34.541463Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"397ms\"}', '2025-09-10 16:28:34', '2025-08-30 09:58:34'),
(135, 10, 'blog.example.com', '192.168.1.100', 'MAD-DM8HHPJTEH11', 'error', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"check_status\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-03T04:47:34.541667Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"158ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-07 23:26:34', '2025-08-30 02:19:34'),
(136, 10, 'myapp.com', '198.51.100.89', 'MAD-DM8HHPJTEH11', 'warning', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-31T04:47:34.541878Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License status check warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"284ms\"}', '2025-09-04 20:36:34', '2025-09-12 23:49:34'),
(137, 10, 'app.developer.com', '198.51.100.123', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-08-30T04:47:34.542081Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"141ms\"}', '2025-09-20 03:11:34', '2025-09-07 18:01:34'),
(138, 10, 'example.com', '198.51.100.123', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"deactivate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-08T04:47:34.542349Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"312ms\"}', '2025-08-31 09:14:34', '2025-08-28 07:13:34'),
(139, 10, 'app.developer.com', '203.0.113.67', 'MAD-DM8HHPJTEH11', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-17T04:47:34.542562Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"84ms\"}', '2025-08-31 11:33:34', '2025-09-05 14:45:34'),
(140, 10, 'businesssite.com', '203.0.113.67', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-10T04:47:34.542765Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"179ms\"}', '2025-09-12 04:21:34', '2025-09-12 08:24:34'),
(141, 10, 'blog.example.com', '192.168.1.100', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-03T04:47:34.542965Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"221ms\"}', '2025-09-12 11:19:34', '2025-08-30 17:33:34'),
(142, 10, 'shop.mystore.com', '203.0.113.45', 'MAD-DM8HHPJTEH11', 'error', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"domain_change\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-23T04:47:34.543164Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Domain change failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"103ms\",\"error_code\":\"LICENSE_DOMAIN_CHANGE_FAILED\",\"error_details\":\"Domain limit exceeded or invalid domain format\"}', '2025-09-01 14:34:34', '2025-09-14 23:58:34'),
(143, 10, 'businesssite.com', '198.51.100.123', 'MAD-DM8HHPJTEH11', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-06T04:47:34.543365Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"267ms\"}', '2025-09-13 20:01:34', '2025-08-31 08:42:34'),
(144, 10, 'businesssite.com', '203.0.113.12', 'MAD-DM8HHPJTEH11', 'error', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"ZFUA9FQQKILA1CIQPBEQKAHNIARSGXJ0\",\"domain\":\"businesssite.com\",\"timestamp\":\"2025-09-11T04:47:34.543575Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"Failed to retrieve license status\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"263ms\",\"error_code\":\"LICENSE_CHECK_STATUS_FAILED\",\"error_details\":\"License not found in database\"}', '2025-09-18 18:40:34', '2025-08-31 17:52:34'),
(145, 12, 'blog.example.com', '198.51.100.89', 'ULMS-MBXTU6PBEQPB', 'warning', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-08-29T04:47:34.543792Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License status check warning\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"110ms\"}', '2025-08-25 05:07:34', '2025-09-18 15:02:34'),
(146, 12, 'portfolio.com', '198.51.100.89', 'ULMS-MBXTU6PBEQPB', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-08-31T04:47:34.543997Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"312ms\"}', '2025-08-25 23:55:34', '2025-08-26 01:18:34'),
(147, 12, 'app.developer.com', '198.51.100.123', 'ULMS-MBXTU6PBEQPB', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"activate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-07T04:47:34.544201Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License activation warning\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"201ms\"}', '2025-09-11 05:48:34', '2025-09-06 08:16:34'),
(148, 12, 'shop.mystore.com', '10.0.0.50', 'ULMS-MBXTU6PBEQPB', 'error', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-10T04:47:34.544402Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License validation failed\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"276ms\",\"error_code\":\"LICENSE_VALIDATE_FAILED\",\"error_details\":\"Invalid license key or expired license\"}', '2025-09-06 00:15:34', '2025-09-09 01:30:34'),
(149, 12, 'myapp.com', '203.0.113.12', 'ULMS-MBXTU6PBEQPB', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"validate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-08-31T04:47:34.544597Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"499ms\"}', '2025-09-24 00:45:34', '2025-09-04 00:02:34'),
(150, 12, 'testwebsite.com', '172.16.0.25', 'ULMS-MBXTU6PBEQPB', 'error', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-20T04:47:34.544791Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License activation failed\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"177ms\",\"error_code\":\"LICENSE_ACTIVATE_FAILED\",\"error_details\":\"License already activated or domain limit exceeded\"}', '2025-08-29 11:17:34', '2025-09-22 21:17:34'),
(151, 12, 'portfolio.com', '203.0.113.45', 'ULMS-MBXTU6PBEQPB', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-06T04:47:34.544992Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"70ms\"}', '2025-08-28 08:56:34', '2025-09-21 10:52:34'),
(152, 12, 'example.com', '198.51.100.89', 'ULMS-MBXTU6PBEQPB', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"example.com\",\"timestamp\":\"2025-09-02T04:47:34.545195Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"Domain changed successfully\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"308ms\"}', '2025-09-22 12:32:34', '2025-08-27 11:18:34'),
(153, 12, 'shop.mystore.com', '10.0.0.50', 'ULMS-MBXTU6PBEQPB', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-14T04:47:34.545395Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"491ms\"}', '2025-08-27 08:09:34', '2025-09-08 23:09:34'),
(154, 12, 'blog.example.com', '203.0.113.67', 'ULMS-MBXTU6PBEQPB', 'warning', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"3XM6QHPGQRJDGVT9G2RKNKCRPAY1END0\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-13T04:47:34.545593Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License activation warning\",\"license_valid\":false,\"expires_at\":\"2026-03-24T04:47:32.000000Z\",\"max_domains\":3,\"response_time\":\"296ms\"}', '2025-08-29 13:26:34', '2025-09-13 03:51:34'),
(155, 14, 'app.developer.com', '198.51.100.123', 'EEP-X6ELIFOCXDXL', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"activate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-03T04:47:34.545793Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License activation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"383ms\"}', '2025-09-22 21:10:34', '2025-09-06 07:18:34'),
(156, 14, 'app.developer.com', '203.0.113.67', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"activate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-08-28T04:47:34.545993Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"479ms\"}', '2025-09-14 19:41:34', '2025-09-19 13:52:34'),
(157, 14, 'testwebsite.com', '10.0.0.50', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-11T04:47:34.546200Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"358ms\"}', '2025-09-14 19:44:34', '2025-09-23 14:24:34'),
(158, 14, 'blog.example.com', '203.0.113.12', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-11T04:47:34.546394Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"208ms\"}', '2025-08-27 16:43:34', '2025-09-08 01:14:34'),
(159, 14, 'app.developer.com', '198.51.100.89', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"check_status\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-17T04:47:34.546589Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"166ms\"}', '2025-09-10 19:17:34', '2025-09-08 13:14:34'),
(160, 14, 'blog.example.com', '203.0.113.12', 'EEP-X6ELIFOCXDXL', 'warning', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-08-28T04:47:34.546798Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"243ms\"}', '2025-09-03 18:57:34', '2025-09-01 03:50:34'),
(161, 14, 'blog.example.com', '203.0.113.67', 'EEP-X6ELIFOCXDXL', 'error', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"validate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-18T04:47:34.546998Z\",\"version\":\"1.0.0\"}', '{\"status\":\"error\",\"message\":\"License validation failed\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"260ms\",\"error_code\":\"LICENSE_VALIDATE_FAILED\",\"error_details\":\"Invalid license key or expired license\"}', '2025-09-13 03:26:34', '2025-09-18 12:27:34'),
(162, 14, 'myapp.com', '203.0.113.67', 'EEP-X6ELIFOCXDXL', 'warning', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-10T04:47:34.547197Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License activation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"348ms\"}', '2025-09-22 01:57:34', '2025-09-07 06:25:34'),
(163, 14, 'app.developer.com', '203.0.113.67', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"check_status\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"app.developer.com\",\"timestamp\":\"2025-09-20T04:47:34.547395Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License status retrieved successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"108ms\"}', '2025-09-20 20:32:34', '2025-08-24 09:39:34'),
(164, 14, 'shop.mystore.com', '10.0.0.50', 'EEP-X6ELIFOCXDXL', 'warning', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"shop.mystore.com\",\"timestamp\":\"2025-09-06T04:47:34.547596Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"License deactivation warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"305ms\"}', '2025-08-31 23:22:34', '2025-09-07 08:21:34'),
(165, 14, 'testwebsite.com', '172.16.0.25', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"deactivate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-08-26T04:47:34.547795Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"496ms\"}', '2025-08-28 05:11:34', '2025-08-31 08:00:34'),
(166, 14, 'testwebsite.com', '172.16.0.25', 'EEP-X6ELIFOCXDXL', 'warning', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36', '{\"action\":\"domain_change\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-09T04:47:34.547993Z\",\"version\":\"1.0.0\"}', '{\"status\":\"warning\",\"message\":\"Domain change warning\",\"license_valid\":false,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"356ms\"}', '2025-09-01 05:20:34', '2025-08-25 14:52:34'),
(167, 14, 'blog.example.com', '203.0.113.67', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"activate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"blog.example.com\",\"timestamp\":\"2025-09-12T04:47:34.548197Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"356ms\"}', '2025-09-07 23:57:34', '2025-09-07 17:58:34'),
(168, 14, 'myapp.com', '172.16.0.25', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15', '{\"action\":\"validate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"myapp.com\",\"timestamp\":\"2025-09-09T04:47:34.548396Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License validation successful\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"265ms\"}', '2025-09-17 05:56:34', '2025-09-20 18:47:34'),
(169, 14, 'portfolio.com', '198.51.100.89', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/88.0', '{\"action\":\"activate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"portfolio.com\",\"timestamp\":\"2025-09-04T04:47:34.548589Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License activated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"120ms\"}', '2025-09-08 13:07:34', '2025-08-26 15:42:34'),
(170, 14, 'testwebsite.com', '203.0.113.45', 'EEP-X6ELIFOCXDXL', 'success', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '{\"action\":\"deactivate\",\"license_key\":\"MHGWPYEWPZDFXTWJUJQ0JAHFW3BVPW4V\",\"domain\":\"testwebsite.com\",\"timestamp\":\"2025-09-24T04:47:34.548786Z\",\"version\":\"1.0.0\"}', '{\"status\":\"success\",\"message\":\"License deactivated successfully\",\"license_valid\":true,\"expires_at\":\"2026-09-24T04:47:32.000000Z\",\"max_domains\":1,\"response_time\":\"448ms\"}', '2025-09-08 13:25:34', '2025-09-15 19:35:34');

-- --------------------------------------------------------

--
-- بنية الجدول `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '0001_01_01_000000_create_users_table', 1),
(2, '0001_01_01_000001_create_cache_table', 1),
(3, '0001_01_01_000002_create_jobs_table', 1),
(4, '2025_01_20_000000_add_missing_fields_to_users_table', 1),
(5, '2025_09_15_182623_create_permission_tables', 1),
(6, '2025_09_15_183001_create_tickets_table', 1),
(7, '2025_09_15_183002_create_ticket_replies_table', 1),
(8, '2025_09_15_183123_create_kb_categories_table', 1),
(9, '2025_09_15_183124_create_kb_articles_table', 1),
(10, '2025_09_15_183125_create_products_table', 1),
(11, '2025_09_15_183129_create_customers_table', 1),
(12, '2025_09_15_183131_create_licenses_table', 1),
(13, '2025_09_15_183138_create_license_domains_table', 1),
(14, '2025_09_15_203329_create_settings_table', 1),
(15, '2025_09_15_203609_add_envato_fields_to_users_table', 1),
(16, '2025_09_15_205549_add_missing_columns_to_settings_table', 1),
(17, '2025_09_15_205649_create_complete_settings_table', 1),
(18, '2025_09_15_212824_add_envato_oauth_fields_to_settings_table', 1),
(19, '2025_09_15_221643_create_ticket_categories_table', 1),
(20, '2025_09_16_000824_add_integration_file_path_to_products_table', 1),
(21, '2025_09_16_002037_create_license_logs_table', 1),
(22, '2025_09_16_012408_create_product_categories_table', 1),
(23, '2025_09_16_085044_create_programming_languages_table', 1),
(24, '2025_09_16_091408_add_missing_fields_to_products_table', 1),
(25, '2025_09_16_171610_add_missing_envato_oauth_fields_to_settings_table', 1),
(26, '2025_09_16_171808_make_product_id_nullable_in_licenses_table', 1),
(27, '2025_09_16_171830_make_user_id_nullable_in_licenses_table', 1),
(28, '2025_09_16_172132_make_customer_id_nullable_in_licenses_table', 1),
(29, '2025_09_16_173320_add_missing_columns_to_products_table', 1),
(30, '2025_09_16_174951_add_license_id_and_category_id_to_tickets_table', 1),
(31, '2025_09_16_193347_add_version_to_products_table', 1),
(32, '2025_09_17_000001_add_max_domains_to_licenses_table', 1),
(33, '2025_09_17_000002_update_status_enum_in_licenses_table', 1),
(34, '2025_09_17_092236_add_license_template_to_programming_languages_table_v2', 1),
(35, '2025_09_17_102418_add_serial_to_kb_tables', 1),
(36, '2025_09_17_110522_add_is_admin_to_users_table', 1),
(37, '2025_09_17_114248_add_product_id_to_kb_tables', 1),
(38, '2025_09_18_000001_add_image_to_kb_articles', 1),
(39, '2025_09_18_000001_add_purchase_links_to_products_table', 1),
(40, '2025_09_18_000001_add_user_id_to_licenses', 1),
(41, '2025_09_18_031500_add_seo_columns_to_settings_table', 1),
(42, '2025_09_18_120000_add_ticket_category_requirements', 1),
(43, '2025_09_18_121500_add_purchase_code_to_tickets', 1),
(44, '2025_09_19_000656_make_user_id_nullable_in_tickets_table', 1),
(45, '2025_09_19_144200_add_status_to_products_table', 1),
(46, '2025_09_19_144300_add_status_to_programming_languages_table', 1),
(47, '2025_09_19_144400_add_role_to_users_table', 1),
(48, '2025_09_19_195248_add_missing_logo_settings_to_settings_table', 1),
(49, '2025_09_19_200115_change_requirements_to_json_in_products_table', 1),
(50, '2025_09_19_200622_change_installation_guide_to_json_in_products_table', 1),
(51, '2025_09_20_031622_add_preloader_settings_to_settings_table', 1),
(52, '2025_09_20_035716_add_kb_categories_to_products_table', 1),
(53, '2025_09_20_035750_create_product_kb_relationships_tables', 1),
(54, '2025_09_20_040202_add_is_published_to_kb_categories_table', 1),
(55, '2025_09_20_042308_add_kb_category_id_to_products_table', 1),
(56, '2025_09_20_120000_add_invoice_id_to_tickets_table', 1),
(57, '2025_09_20_121509_create_invoices_table', 1),
(58, '2025_09_20_121526_add_stock_to_products_table', 1),
(59, '2025_09_20_123821_make_invoice_fields_nullable_for_custom_invoices', 1),
(60, '2025_09_20_162205_create_email_templates_table', 1),
(61, '2025_09_21_120015_add_hierarchical_fields_to_product_categories_table', 1),
(62, '2025_09_21_120440_remove_hierarchical_fields_from_product_categories_table', 1),
(63, '2025_09_21_120919_add_seo_and_icon_fields_to_ticket_categories_table', 1);

-- --------------------------------------------------------

--
-- بنية الجدول `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(1, 'App\\Models\\User', 1),
(2, 'App\\Models\\User', 2),
(2, 'App\\Models\\User', 3),
(2, 'App\\Models\\User', 4),
(2, 'App\\Models\\User', 5),
(2, 'App\\Models\\User', 6);

-- --------------------------------------------------------

--
-- بنية الجدول `password_reset_tokens`
--

CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- بنية الجدول `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'manage_users', 'web', '2025-09-24 01:47:18', '2025-09-24 01:47:18'),
(2, 'manage_products', 'web', '2025-09-24 01:47:18', '2025-09-24 01:47:18'),
(3, 'manage_licenses', 'web', '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(4, 'manage_tickets', 'web', '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(5, 'manage_settings', 'web', '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(6, 'view_reports', 'web', '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(7, 'manage_kb', 'web', '2025-09-24 01:47:19', '2025-09-24 01:47:19');

-- --------------------------------------------------------

--
-- بنية الجدول `products`
--

CREATE TABLE `products` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `envato_item_id` varchar(255) DEFAULT NULL,
  `purchase_url_envato` varchar(255) DEFAULT NULL,
  `purchase_url_buy` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `price` decimal(8,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `license_type` varchar(255) NOT NULL DEFAULT 'regular',
  `support_days` int(10) UNSIGNED NOT NULL DEFAULT 180,
  `supported_until` timestamp NULL DEFAULT NULL,
  `extended_support_price` decimal(8,2) DEFAULT NULL,
  `extended_support_days` int(11) NOT NULL DEFAULT 365,
  `extended_supported_until` timestamp NULL DEFAULT NULL,
  `kb_categories` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Array of KB category IDs linked to this product' CHECK (json_valid(`kb_categories`)),
  `kb_articles` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Array of KB article IDs linked to this product' CHECK (json_valid(`kb_articles`)),
  `kb_access_required` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Whether KB access is required for this product',
  `kb_access_message` text DEFAULT NULL COMMENT 'Custom message for KB access requirement',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `category_id` bigint(20) UNSIGNED DEFAULT NULL,
  `kb_category_id` bigint(20) UNSIGNED DEFAULT NULL,
  `programming_language` bigint(20) UNSIGNED DEFAULT NULL,
  `integration_file_path` varchar(255) DEFAULT NULL,
  `renewal_price` decimal(8,2) DEFAULT NULL,
  `renewal_period` enum('monthly','quarterly','semi-annual','annual','three-years','lifetime') DEFAULT NULL,
  `tax_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `stock_quantity` int(11) NOT NULL DEFAULT -1,
  `requires_domain` tinyint(1) NOT NULL DEFAULT 0,
  `features` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`features`)),
  `requirements` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`requirements`)),
  `installation_guide` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`installation_guide`)),
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_description` varchar(255) DEFAULT NULL,
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `version` varchar(50) DEFAULT NULL,
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `is_popular` tinyint(1) NOT NULL DEFAULT 0,
  `image` varchar(255) DEFAULT NULL,
  `gallery_images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`gallery_images`)),
  `stock` int(11) DEFAULT NULL,
  `duration_days` int(11) NOT NULL DEFAULT 365,
  `auto_renewal` tinyint(1) NOT NULL DEFAULT 1,
  `renewal_reminder_days` int(11) NOT NULL DEFAULT 7
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `products`
--

INSERT INTO `products` (`id`, `name`, `slug`, `envato_item_id`, `purchase_url_envato`, `purchase_url_buy`, `description`, `price`, `status`, `license_type`, `support_days`, `supported_until`, `extended_support_price`, `extended_support_days`, `extended_supported_until`, `kb_categories`, `kb_articles`, `kb_access_required`, `kb_access_message`, `is_active`, `created_at`, `updated_at`, `category_id`, `kb_category_id`, `programming_language`, `integration_file_path`, `renewal_price`, `renewal_period`, `tax_rate`, `stock_quantity`, `requires_domain`, `features`, `requirements`, `installation_guide`, `meta_title`, `meta_description`, `tags`, `version`, `is_featured`, `is_popular`, `image`, `gallery_images`, `stock`, `duration_days`, `auto_renewal`, `renewal_reminder_days`) VALUES
(1, 'Ultimate License Management System', 'ultimate-license-management-system', '12345678', 'https://codecanyon.net/item/ultimate-license-management-system/12345678', 'https://example.com/buy/ultimate-license-management-system', 'A comprehensive license management system with advanced features for managing software licenses, customers, and products. Perfect for software developers and digital product sellers.', '299.00', 'active', 'extended', 365, '2026-09-24 01:47:26', '199.00', 365, '2026-09-24 01:47:26', '\"[4,5,6,7,8,9,10]\"', '\"[17,18,19,20,21,22,23,24,25,26,27]\"', 1, 'This product requires a valid license to access documentation and support materials.', 1, '2025-09-24 01:47:26', '2025-09-24 01:48:12', 1, NULL, 1, 'licenses/1/license-ultimate-license-management-system-2025-09-24_04-48-12..php', '99.00', 'annual', '0.00', 0, 1, '[\"Multi-language support\",\"API integration\",\"Customer management\",\"License validation\",\"Payment processing\",\"Email notifications\",\"Analytics dashboard\",\"Mobile responsive\"]', '[\"PHP 8.1 or higher\",\"MySQL 5.7 or higher\",\"Apache\\/Nginx web server\",\"SSL certificate\",\"Composer package manager\"]', '[\"Download and extract files\",\"Configure database connection\",\"Run database migrations\",\"Set up email configuration\",\"Configure license settings\",\"Test the installation\"]', 'Ultimate License Management System - Professional License Management', 'Professional license management system with advanced features for software developers and digital product sellers.', '[\"license management\",\"software licensing\",\"customer management\",\"API\",\"PHP\"]', '2.1.0', 1, 1, '/assets/images/products/ultimate-license-system.jpg', '[\"\\/assets\\/images\\/products\\/ultimate-license-system-1.jpg\",\"\\/assets\\/images\\/products\\/ultimate-license-system-2.jpg\",\"\\/assets\\/images\\/products\\/ultimate-license-system-3.jpg\"]', NULL, 365, 1, 30),
(2, 'EasyDropshopping Ecommerce SaaS', 'easydropshopping-ecommerce-saas', '87654321', 'https://codecanyon.net/item/easydropshopping-ecommerce-saas/87654321', 'https://example.com/buy/easydropshopping-ecommerce-saas', 'Complete e-commerce SaaS platform for dropshipping businesses with automated supplier integration and multi-vendor marketplace features.', '499.00', 'active', 'extended', 365, '2026-09-24 01:47:26', '299.00', 365, '2026-09-24 01:47:26', '\"[11,12,13,14]\"', '\"[28,29,30,31,32,33]\"', 1, 'This product requires a valid license to access documentation and support materials.', 1, '2025-09-24 01:47:26', '2025-09-24 01:47:30', 5, NULL, 1, '/downloads/dropshopping-integration.zip', '199.00', 'annual', '0.00', 0, 1, '[\"Automated dropshipping\",\"Multi-vendor marketplace\",\"Payment gateway integration\",\"Inventory management\",\"Order fulfillment\",\"Analytics dashboard\",\"Mobile app support\",\"API integration\"]', '[\"PHP 8.0 or higher\",\"MySQL 5.7 or higher\",\"Laravel 9.0 or higher\",\"Redis for caching\",\"SSL certificate\"]', '[\"Upload files to server\",\"Configure environment variables\",\"Install dependencies via Composer\",\"Run database migrations\",\"Configure payment gateways\",\"Set up supplier integrations\"]', 'EasyDropshopping Ecommerce SaaS - Complete Dropshipping Platform', 'Complete e-commerce SaaS platform for dropshipping businesses with automated supplier integration.', '[\"ecommerce\",\"dropshipping\",\"saas\",\"marketplace\",\"multi-vendor\"]', '1.5.2', 1, 1, '/assets/images/products/easydropshopping-saas.jpg', '[\"\\/assets\\/images\\/products\\/easydropshopping-1.jpg\",\"\\/assets\\/images\\/products\\/easydropshopping-2.jpg\",\"\\/assets\\/images\\/products\\/easydropshopping-3.jpg\"]', NULL, 365, 1, 30),
(3, 'Easy Ecommerce Platform', 'easy-ecommerce-platform', '11223344', 'https://codecanyon.net/item/easy-ecommerce-platform/11223344', 'https://example.com/buy/easy-ecommerce-platform', 'Simple yet powerful e-commerce platform designed for businesses of all sizes. Easy to set up and manage with comprehensive features.', '199.00', 'active', 'regular', 180, '2026-03-24 02:47:26', '149.00', 365, '2026-09-24 01:47:26', '\"[15,16,17]\"', '\"[34,35,36]\"', 1, 'This product requires a valid license to access documentation and support materials.', 1, '2025-09-24 01:47:26', '2025-09-24 01:47:31', 5, NULL, 1, '/downloads/easy-ecommerce-integration.zip', '99.00', 'annual', '0.00', 0, 1, '[\"Product catalog management\",\"Shopping cart functionality\",\"Payment processing\",\"Order management\",\"Customer accounts\",\"Inventory tracking\",\"SEO optimization\",\"Mobile responsive\"]', '[\"PHP 7.4 or higher\",\"MySQL 5.6 or higher\",\"Apache\\/Nginx web server\",\"SSL certificate\",\"cURL extension\"]', '[\"Upload files to web directory\",\"Create database and configure connection\",\"Run installation script\",\"Configure store settings\",\"Add products and categories\",\"Set up payment methods\"]', 'Easy Ecommerce Platform - Simple Online Store Solution', 'Simple yet powerful e-commerce platform for businesses of all sizes with easy setup and management.', '[\"ecommerce\",\"online store\",\"shopping cart\",\"payment processing\",\"PHP\"]', '1.2.5', 0, 1, '/assets/images/products/easy-ecommerce.jpg', '[\"\\/assets\\/images\\/products\\/easy-ecommerce-1.jpg\",\"\\/assets\\/images\\/products\\/easy-ecommerce-2.jpg\"]', NULL, 365, 0, 30),
(4, 'Advanced Contact Form Pro', 'advanced-contact-form-pro', '55667788', 'https://codecanyon.net/item/advanced-contact-form-pro/55667788', 'https://example.com/buy/advanced-contact-form-pro', 'Professional WordPress contact form plugin with advanced features, spam protection, and multiple integrations.', '49.00', 'active', 'regular', 180, '2026-03-24 02:47:26', '99.00', 365, '2026-09-24 01:47:26', '\"[18,19,20]\"', '\"[37,38,39]\"', 1, 'This product requires a valid license to access documentation and support materials.', 1, '2025-09-24 01:47:26', '2025-09-24 01:47:31', 4, NULL, 1, '/downloads/contact-form-pro.zip', '29.00', 'annual', '0.00', 0, 0, '[\"Drag & drop form builder\",\"Spam protection\",\"Email notifications\",\"Database storage\",\"File upload support\",\"Conditional logic\",\"Multi-step forms\",\"Analytics integration\"]', '[\"WordPress 5.0 or higher\",\"PHP 7.4 or higher\",\"MySQL 5.6 or higher\"]', '[\"Upload plugin files to WordPress\",\"Activate the plugin\",\"Configure form settings\",\"Create your first form\",\"Add form to pages or posts\",\"Test form functionality\"]', 'Advanced Contact Form Pro - Professional WordPress Form Plugin', 'Professional WordPress contact form plugin with advanced features and spam protection.', '[\"WordPress\",\"contact form\",\"form builder\",\"spam protection\",\"plugin\"]', '2.3.1', 0, 1, '/assets/images/products/contact-form-pro.jpg', '[\"\\/assets\\/images\\/products\\/contact-form-pro-1.jpg\",\"\\/assets\\/images\\/products\\/contact-form-pro-2.jpg\"]', NULL, 365, 0, 30),
(5, 'TaskMaster Mobile App', 'taskmaster-mobile-app', '99887766', 'https://codecanyon.net/item/taskmaster-mobile-app/99887766', 'https://example.com/buy/taskmaster-mobile-app', 'Cross-platform mobile task management application with team collaboration features and real-time synchronization.', '149.00', 'active', 'extended', 365, '2026-09-24 01:47:26', '199.00', 365, '2026-09-24 01:47:26', '\"[21,22,23]\"', '\"[40,41,42]\"', 1, 'This product requires a valid license to access documentation and support materials.', 1, '2025-09-24 01:47:26', '2025-09-24 01:47:31', 2, NULL, 2, '/downloads/taskmaster-mobile.zip', '79.00', 'annual', '0.00', 0, 1, '[\"Cross-platform support\",\"Real-time synchronization\",\"Team collaboration\",\"Offline functionality\",\"Push notifications\",\"File attachments\",\"Time tracking\",\"Project management\"]', '[\"React Native 0.70 or higher\",\"Node.js 16 or higher\",\"iOS 12 or higher\",\"Android 8.0 or higher\"]', '[\"Install React Native development environment\",\"Clone the repository\",\"Install dependencies\",\"Configure API endpoints\",\"Build for iOS\\/Android\",\"Deploy to app stores\"]', 'TaskMaster Mobile App - Cross-Platform Task Management', 'Cross-platform mobile task management application with team collaboration and real-time sync.', '[\"mobile app\",\"task management\",\"React Native\",\"cross-platform\",\"collaboration\"]', '1.4.0', 1, 0, '/assets/images/products/taskmaster-mobile.jpg', '[\"\\/assets\\/images\\/products\\/taskmaster-mobile-1.jpg\",\"\\/assets\\/images\\/products\\/taskmaster-mobile-2.jpg\",\"\\/assets\\/images\\/products\\/taskmaster-mobile-3.jpg\"]', NULL, 365, 1, 30),
(6, 'Modern Admin Dashboard', 'modern-admin-dashboard', '33445566', 'https://codecanyon.net/item/modern-admin-dashboard/33445566', 'https://example.com/buy/modern-admin-dashboard', 'Modern and responsive admin dashboard template with comprehensive UI components and multiple layout options.', '79.00', 'active', 'regular', 180, '2026-03-24 02:47:26', '149.00', 365, '2026-09-24 01:47:26', '\"[24,25,26]\"', '\"[43,44,45]\"', 1, 'This product requires a valid license to access documentation and support materials.', 1, '2025-09-24 01:47:26', '2025-09-24 01:47:32', 6, NULL, 2, '/downloads/modern-admin-dashboard.zip', '39.00', 'annual', '0.00', 0, 0, '[\"Responsive design\",\"Multiple layouts\",\"Dark\\/Light themes\",\"Component library\",\"Charts and graphs\",\"Data tables\",\"Form components\",\"Authentication pages\"]', '[\"HTML5 compatible browser\",\"CSS3 support\",\"JavaScript ES6+\",\"Modern web server\"]', '[\"Download and extract files\",\"Upload to web server\",\"Configure build tools\",\"Customize theme colors\",\"Add your content\",\"Deploy to production\"]', 'Modern Admin Dashboard - Responsive Admin Template', 'Modern and responsive admin dashboard template with comprehensive UI components.', '[\"admin template\",\"dashboard\",\"responsive\",\"UI components\",\"Bootstrap\"]', '3.2.1', 0, 1, '/assets/images/products/modern-admin-dashboard.jpg', '[\"\\/assets\\/images\\/products\\/modern-admin-1.jpg\",\"\\/assets\\/images\\/products\\/modern-admin-2.jpg\"]', NULL, 365, 0, 30);

-- --------------------------------------------------------

--
-- بنية الجدول `product_categories`
--

CREATE TABLE `product_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_keywords` text DEFAULT NULL,
  `meta_description` text DEFAULT NULL,
  `color` varchar(7) DEFAULT NULL,
  `text_color` varchar(7) DEFAULT NULL,
  `icon` varchar(100) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `show_in_menu` tinyint(1) NOT NULL DEFAULT 1,
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `product_categories`
--

INSERT INTO `product_categories` (`id`, `name`, `slug`, `description`, `meta_title`, `meta_keywords`, `meta_description`, `color`, `text_color`, `icon`, `image`, `is_active`, `show_in_menu`, `is_featured`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'Web Development', 'web-development', 'Complete web development solutions including websites, web applications, and CMS themes', 'Web Development Solutions - Professional Web Apps & Sites', 'web development, websites, web applications, CMS themes, responsive design', 'Professional web development solutions including responsive websites, web applications, and CMS themes for modern businesses.', '#3B82F6', '#FFFFFF', 'fas fa-globe', '/assets/images/categories/web-development.jpg', 1, 1, 1, 1, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(2, 'Mobile Applications', 'mobile-applications', 'Native and cross-platform mobile applications for iOS and Android devices', 'Mobile App Development - iOS & Android Applications', 'mobile apps, iOS apps, Android apps, cross-platform, mobile development', 'Professional mobile application development for iOS and Android platforms with modern UI/UX design.', '#10B981', '#FFFFFF', 'fas fa-mobile-alt', '/assets/images/categories/mobile-apps.jpg', 1, 1, 1, 2, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(3, 'Desktop Software', 'desktop-software', 'Cross-platform desktop applications for Windows, macOS, and Linux', 'Desktop Software Development - Windows, macOS, Linux', 'desktop software, Windows apps, macOS apps, Linux apps, cross-platform', 'Professional desktop software development for Windows, macOS, and Linux operating systems.', '#F59E0B', '#FFFFFF', 'fas fa-desktop', '/assets/images/categories/desktop-software.jpg', 1, 1, 0, 3, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(4, 'WordPress Plugins', 'wordpress-plugins', 'Premium WordPress plugins with advanced functionality and features', 'Premium WordPress Plugins - Advanced Functionality', 'WordPress plugins, premium plugins, WordPress development, CMS plugins', 'Premium WordPress plugins with advanced functionality, modern design, and comprehensive features.', '#8B5CF6', '#FFFFFF', 'fab fa-wordpress', '/assets/images/categories/wordpress-plugins.jpg', 1, 1, 1, 4, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(5, 'E-commerce Solutions', 'ecommerce-solutions', 'Complete e-commerce platforms and solutions for online businesses', 'E-commerce Solutions - Online Store Development', 'e-commerce, online store, shopping cart, payment gateway, ecommerce platform', 'Complete e-commerce solutions including online stores, shopping carts, and payment integrations.', '#EF4444', '#FFFFFF', 'fas fa-shopping-cart', '/assets/images/categories/ecommerce.jpg', 1, 1, 1, 5, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(6, 'Admin Templates', 'admin-templates', 'Professional admin dashboard templates and UI frameworks', 'Admin Dashboard Templates - Professional UI Frameworks', 'admin templates, dashboard, UI framework, admin panel, backend templates', 'Professional admin dashboard templates with modern UI/UX design and comprehensive features.', '#06B6D4', '#FFFFFF', 'fas fa-tachometer-alt', '/assets/images/categories/admin-templates.jpg', 1, 1, 0, 6, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(7, 'API & Backend', 'api-backend', 'RESTful APIs, backend services, and server-side solutions', 'API & Backend Development - RESTful Services', 'API development, RESTful API, backend services, server-side, microservices', 'Professional API and backend development services including RESTful APIs and microservices.', '#84CC16', '#FFFFFF', 'fas fa-server', '/assets/images/categories/api-backend.jpg', 1, 1, 0, 7, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(8, 'Development Tools', 'development-tools', 'Software development tools, utilities, and productivity applications', 'Development Tools - Software Development Utilities', 'development tools, software utilities, productivity tools, dev tools', 'Professional development tools and utilities to enhance software development productivity.', '#F97316', '#FFFFFF', 'fas fa-tools', '/assets/images/categories/dev-tools.jpg', 1, 1, 0, 8, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(9, 'Game Development', 'game-development', 'Game engines, game assets, and game development frameworks', 'Game Development - Game Engines & Assets', 'game development, game engines, game assets, Unity, Unreal Engine', 'Professional game development solutions including game engines, assets, and frameworks.', '#EC4899', '#FFFFFF', 'fas fa-gamepad', '/assets/images/categories/game-development.jpg', 1, 1, 0, 9, '2025-09-24 01:47:26', '2025-09-24 01:47:26'),
(10, 'Data & Analytics', 'data-analytics', 'Data visualization, analytics tools, and business intelligence solutions', 'Data & Analytics - Business Intelligence Solutions', 'data analytics, business intelligence, data visualization, reporting tools', 'Professional data analytics and business intelligence solutions for data-driven decision making.', '#6366F1', '#FFFFFF', 'fas fa-chart-bar', '/assets/images/categories/data-analytics.jpg', 1, 1, 0, 10, '2025-09-24 01:47:26', '2025-09-24 01:47:26');

-- --------------------------------------------------------

--
-- بنية الجدول `product_kb_articles`
--

CREATE TABLE `product_kb_articles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `kb_article_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `product_kb_articles`
--

INSERT INTO `product_kb_articles` (`id`, `product_id`, `kb_article_id`, `created_at`, `updated_at`) VALUES
(1, 1, 17, NULL, NULL),
(2, 1, 18, NULL, NULL),
(3, 1, 19, NULL, NULL),
(4, 1, 20, NULL, NULL),
(5, 1, 21, NULL, NULL),
(6, 1, 22, NULL, NULL),
(7, 1, 23, NULL, NULL),
(8, 1, 24, NULL, NULL),
(9, 1, 25, NULL, NULL),
(10, 1, 26, NULL, NULL),
(11, 1, 27, NULL, NULL),
(12, 2, 28, NULL, NULL),
(13, 2, 29, NULL, NULL),
(14, 2, 30, NULL, NULL),
(15, 2, 31, NULL, NULL),
(16, 2, 32, NULL, NULL),
(17, 2, 33, NULL, NULL),
(18, 3, 34, NULL, NULL),
(19, 3, 35, NULL, NULL),
(20, 3, 36, NULL, NULL),
(21, 4, 37, NULL, NULL),
(22, 4, 38, NULL, NULL),
(23, 4, 39, NULL, NULL),
(24, 5, 40, NULL, NULL),
(25, 5, 41, NULL, NULL),
(26, 5, 42, NULL, NULL),
(27, 6, 43, NULL, NULL),
(28, 6, 44, NULL, NULL),
(29, 6, 45, NULL, NULL);

-- --------------------------------------------------------

--
-- بنية الجدول `product_kb_categories`
--

CREATE TABLE `product_kb_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `kb_category_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `product_kb_categories`
--

INSERT INTO `product_kb_categories` (`id`, `product_id`, `kb_category_id`, `created_at`, `updated_at`) VALUES
(1, 1, 4, NULL, NULL),
(2, 1, 5, NULL, NULL),
(3, 1, 6, NULL, NULL),
(4, 1, 7, NULL, NULL),
(5, 1, 8, NULL, NULL),
(6, 1, 9, NULL, NULL),
(7, 1, 10, NULL, NULL),
(8, 2, 11, NULL, NULL),
(9, 2, 12, NULL, NULL),
(10, 2, 13, NULL, NULL),
(11, 2, 14, NULL, NULL),
(12, 3, 15, NULL, NULL),
(13, 3, 16, NULL, NULL),
(14, 3, 17, NULL, NULL),
(15, 4, 18, NULL, NULL),
(16, 4, 19, NULL, NULL),
(17, 4, 20, NULL, NULL),
(18, 5, 21, NULL, NULL),
(19, 5, 22, NULL, NULL),
(20, 5, 23, NULL, NULL),
(21, 6, 24, NULL, NULL),
(22, 6, 25, NULL, NULL),
(23, 6, 26, NULL, NULL);

-- --------------------------------------------------------

--
-- بنية الجدول `programming_languages`
--

CREATE TABLE `programming_languages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `icon` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `file_extension` varchar(255) DEFAULT NULL,
  `license_template` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `programming_languages`
--

INSERT INTO `programming_languages` (`id`, `name`, `slug`, `description`, `status`, `icon`, `is_active`, `sort_order`, `file_extension`, `license_template`, `created_at`, `updated_at`) VALUES
(1, 'PHP', 'php', 'Server-side scripting language for web development', 'active', NULL, 1, 1, '.php', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(2, 'JavaScript', 'javascript', 'Client-side and server-side programming language', 'active', NULL, 1, 2, '.js', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(3, 'Python', 'python', 'High-level programming language for various applications', 'active', NULL, 1, 3, '.py', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(4, 'Java', 'java', 'Object-oriented programming language for enterprise applications', 'active', NULL, 1, 4, '.java', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(5, 'C#', 'csharp', 'Microsoft programming language for .NET applications', 'active', NULL, 1, 5, '.cs', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(6, 'C++', 'cpp', 'General-purpose programming language with object-oriented features', 'active', NULL, 1, 6, '.cpp', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(7, 'HTML/CSS', 'html-css', 'Markup and styling languages for web development', 'active', NULL, 1, 7, '.html', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(8, 'WordPress', 'wordpress', 'Content management system with PHP-based plugins and themes', 'active', NULL, 1, 8, '.php', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(9, 'Laravel', 'laravel', 'PHP web application framework with elegant syntax', 'active', NULL, 1, 9, '.php', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(10, 'React', 'react', 'JavaScript library for building user interfaces', 'active', NULL, 1, 10, '.jsx', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(11, 'Vue.js', 'vuejs', 'Progressive JavaScript framework for building UIs', 'active', NULL, 1, 11, '.vue', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(12, 'Angular', 'angular', 'TypeScript-based web application framework', 'active', NULL, 1, 12, '.ts', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(13, 'Node.js', 'nodejs', 'JavaScript runtime for server-side development', 'active', NULL, 1, 13, '.js', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(14, 'Ruby', 'ruby', 'Dynamic programming language with elegant syntax', 'active', NULL, 1, 14, '.rb', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19'),
(15, 'Go', 'go', 'Google programming language for efficient software development', 'active', NULL, 1, 15, '.go', NULL, '2025-09-24 01:47:19', '2025-09-24 01:47:19');

-- --------------------------------------------------------

--
-- بنية الجدول `roles`
--

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `roles`
--

INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'admin', 'web', '2025-09-24 01:47:18', '2025-09-24 01:47:18'),
(2, 'user', 'web', '2025-09-24 01:47:18', '2025-09-24 01:47:18');

-- --------------------------------------------------------

--
-- بنية الجدول `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `role_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `role_has_permissions`
--

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 1),
(5, 1),
(6, 1),
(7, 1);

-- --------------------------------------------------------

--
-- بنية الجدول `sessions`
--

CREATE TABLE `sessions` (
  `id` varchar(255) NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `payload` longtext NOT NULL,
  `last_activity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `sessions`
--

INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES
('TL4jmEgLGNQ5978SGxuLtALLr8i675PRf6YTENus', 1, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', 'YTo2OntzOjY6Il90b2tlbiI7czo0MDoiWDdmWk9BUFFrYld2VVRLQU5NU1N6bWhWM242Q0FoRDRTTWFYc1JEdiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjg6Imh0dHBzOi8vbG9jYWxob3N0L2xpYy9wdWJsaWMiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX1zOjM6InVybCI7YTowOnt9czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MTtzOjY6ImxvY2FsZSI7czoyOiJlbiI7fQ==', 1758690067);

-- --------------------------------------------------------

--
-- بنية الجدول `settings`
--

CREATE TABLE `settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `site_name` varchar(255) NOT NULL DEFAULT 'Lic',
  `site_logo` varchar(255) DEFAULT NULL,
  `site_logo_dark` varchar(255) DEFAULT NULL,
  `logo_width` int(11) NOT NULL DEFAULT 150,
  `logo_height` int(11) NOT NULL DEFAULT 50,
  `logo_show_text` tinyint(1) NOT NULL DEFAULT 1,
  `logo_text` varchar(255) DEFAULT NULL,
  `logo_text_color` varchar(255) NOT NULL DEFAULT '#1f2937',
  `logo_text_font_size` varchar(255) NOT NULL DEFAULT '24px',
  `support_email` varchar(255) DEFAULT NULL,
  `support_phone` varchar(255) DEFAULT NULL,
  `site_description` text DEFAULT NULL,
  `timezone` varchar(255) NOT NULL DEFAULT 'UTC',
  `maintenance_mode` tinyint(1) NOT NULL DEFAULT 0,
  `envato_personal_token` varchar(255) DEFAULT NULL,
  `envato_api_key` varchar(255) DEFAULT NULL,
  `envato_auth_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `envato_username` varchar(255) DEFAULT NULL,
  `envato_client_id` varchar(255) DEFAULT NULL,
  `envato_client_secret` varchar(255) DEFAULT NULL,
  `envato_redirect_uri` varchar(255) DEFAULT NULL,
  `envato_oauth_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `auto_generate_license` tinyint(1) NOT NULL DEFAULT 1,
  `default_license_length` int(11) NOT NULL DEFAULT 32,
  `license_max_attempts` int(11) NOT NULL DEFAULT 5,
  `license_lockout_minutes` int(11) NOT NULL DEFAULT 15,
  `preloader_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `preloader_type` varchar(255) NOT NULL DEFAULT 'spinner',
  `preloader_color` varchar(255) NOT NULL DEFAULT '#3b82f6',
  `preloader_background_color` varchar(255) NOT NULL DEFAULT '#ffffff',
  `preloader_duration` int(11) NOT NULL DEFAULT 2000,
  `preloader_custom_css` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `seo_site_title` varchar(255) DEFAULT NULL,
  `seo_site_description` text DEFAULT NULL,
  `seo_og_image` varchar(255) DEFAULT NULL,
  `seo_kb_title` varchar(255) DEFAULT NULL,
  `seo_kb_description` text DEFAULT NULL,
  `seo_tickets_title` varchar(255) DEFAULT NULL,
  `seo_tickets_description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `settings`
--

INSERT INTO `settings` (`id`, `site_name`, `site_logo`, `site_logo_dark`, `logo_width`, `logo_height`, `logo_show_text`, `logo_text`, `logo_text_color`, `logo_text_font_size`, `support_email`, `support_phone`, `site_description`, `timezone`, `maintenance_mode`, `envato_personal_token`, `envato_api_key`, `envato_auth_enabled`, `envato_username`, `envato_client_id`, `envato_client_secret`, `envato_redirect_uri`, `envato_oauth_enabled`, `auto_generate_license`, `default_license_length`, `license_max_attempts`, `license_lockout_minutes`, `preloader_enabled`, `preloader_type`, `preloader_color`, `preloader_background_color`, `preloader_duration`, `preloader_custom_css`, `created_at`, `updated_at`, `seo_site_title`, `seo_site_description`, `seo_og_image`, `seo_kb_title`, `seo_kb_description`, `seo_tickets_title`, `seo_tickets_description`) VALUES
(1, 'License Management System', '/assets/images/logo.png', NULL, 150, 50, 1, NULL, '#1f2937', '24px', 'support@example.com', '+1-555-0123', 'Professional license management system for digital products', 'UTC', 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 1, 32, 5, 15, 1, 'spinner', '#3b82f6', '#ffffff', 2000, NULL, '2025-09-24 01:47:20', '2025-09-24 01:47:20', 'License Management System', 'Professional license management system for digital products', '/assets/images/og-image.png', 'Knowledge Base - License Management System', 'Comprehensive documentation and guides for our license management system', 'Support Tickets - License Management System', 'Get help and support for our license management system');

-- --------------------------------------------------------

--
-- بنية الجدول `tickets`
--

CREATE TABLE `tickets` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `subject` varchar(255) NOT NULL,
  `priority` enum('low','medium','high') NOT NULL DEFAULT 'medium',
  `status` enum('open','pending','resolved','closed') NOT NULL DEFAULT 'open',
  `content` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `license_id` bigint(20) UNSIGNED DEFAULT NULL,
  `invoice_id` bigint(20) UNSIGNED DEFAULT NULL,
  `purchase_code` varchar(255) DEFAULT NULL,
  `category_id` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `tickets`
--

INSERT INTO `tickets` (`id`, `user_id`, `subject`, `priority`, `status`, `content`, `created_at`, `updated_at`, `license_id`, `invoice_id`, `purchase_code`, `category_id`) VALUES
(1, 5, 'Custom feature request', 'high', 'pending', 'I need a custom feature added to Ultimate License Management System. Specifically, I want to integrate it with our existing CRM system. Is this possible?', '2025-09-24 01:47:42', '2025-09-24 01:47:42', 1, NULL, 'ULMS-QLX3NXACJBJY', 4),
(2, 4, 'Configuration problem with Ultimate License Management System', 'low', 'closed', 'The performance of Ultimate License Management System seems slow on my server. It takes a long time to load pages and process requests. Is there anything I can do to optimize it?', '2025-09-24 01:47:42', '2025-09-24 01:47:42', 2, NULL, 'ULMS-3JZQHONAWVEG', 1),
(3, 4, 'White-label solution inquiry', 'low', 'pending', 'I\'m looking for a white-label solution based on EasyDropshopping Ecommerce SaaS. Can you provide custom branding and remove your company information?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 3, NULL, 'EDES-V9L1VPV9ZP6P', 4),
(4, 4, 'Error message in EasyDropshopping Ecommerce SaaS', 'medium', 'open', 'I followed the installation guide for EasyDropshopping Ecommerce SaaS but I\'m getting a database connection error. I\'ve checked my database credentials and they seem correct. Purchase code: EDES-4HWTMEOUUAJV', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 4, NULL, 'EDES-4HWTMEOUUAJV', 1),
(5, 6, 'License transfer request', 'low', 'closed', 'My license key is not being accepted by the system. I\'ve double-checked the key and it appears to be correct. Could you verify the license status?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 5, NULL, 'EEP-HYZ6HK9Q8DOR', 3),
(6, 5, 'License renewal question', 'high', 'resolved', 'My license key is not being accepted by the system. I\'ve double-checked the key and it appears to be correct. Could you verify the license status?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 6, NULL, 'EEP-XYRASEYKJQ5T', 3),
(7, 6, 'Custom feature request', 'high', 'pending', 'I need help developing a custom plugin that works with Advanced Contact Form Pro. What would be the timeline and cost for such a project?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 7, NULL, 'ACFP-AVIUEAZCOFT0', 4),
(8, 5, 'White-label solution inquiry', 'medium', 'closed', 'I need a custom feature added to Advanced Contact Form Pro. Specifically, I want to integrate it with our existing CRM system. Is this possible?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 8, NULL, 'ACFP-IOMRQSTA7WDW', 4),
(9, 5, 'Feature comparison needed', 'high', 'resolved', 'I\'m interested in purchasing TaskMaster Mobile App but I need more information about the pricing and available features. Could you provide a detailed breakdown?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 9, NULL, 'TMA-ZVDPLKQDD6HM', 2),
(10, 2, 'Issue with Modern Admin Dashboard installation', 'medium', 'open', 'The performance of Modern Admin Dashboard seems slow on my server. It takes a long time to load pages and process requests. Is there anything I can do to optimize it?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 10, NULL, 'MAD-DM8HHPJTEH11', 1),
(11, 3, 'License transfer request', 'medium', 'resolved', 'I need to change the domain for my license. The current domain is no longer in use and I want to move it to my new website. Purchase code: MAD-FOARWDF3XWQS', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 11, NULL, 'MAD-FOARWDF3XWQS', 3),
(12, 4, 'License key not working', 'low', 'pending', 'My license key is not being accepted by the system. I\'ve double-checked the key and it appears to be correct. Could you verify the license status?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 12, NULL, 'ULMS-MBXTU6PBEQPB', 3),
(13, 2, 'License renewal question', 'low', 'resolved', 'My license key is not being accepted by the system. I\'ve double-checked the key and it appears to be correct. Could you verify the license status?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 13, NULL, 'EDES-3TFZX1WUNZRW', 3),
(14, 2, 'Issue with Easy Ecommerce Platform installation', 'medium', 'closed', 'I followed the installation guide for Easy Ecommerce Platform but I\'m getting a database connection error. I\'ve checked my database credentials and they seem correct. Purchase code: EEP-X6ELIFOCXDXL', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 14, NULL, 'EEP-X6ELIFOCXDXL', 1),
(15, 4, 'Payment issue with invoice INV-2025-E40AED58', 'low', 'open', 'I haven\'t received invoice INV-2025-E40AED58 in my email. Could you please resend it? The amount should be $299.00.', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 2, 3, 'ULMS-3JZQHONAWVEG', 1),
(16, 4, 'Payment issue with invoice INV-2025-EC843907', 'high', 'resolved', 'I\'m having trouble processing the payment for invoice INV-2025-EC843907 (Amount: $99.00). The payment gateway is showing an error. Can you help?', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 2, 4, 'ULMS-3JZQHONAWVEG', 2),
(17, 4, 'Payment issue with invoice INV-2025-6B4BAA69', 'high', 'open', 'I need to request a refund for invoice INV-2025-6B4BAA69. The product doesn\'t meet my requirements. Amount: $299.00.', '2025-09-24 01:47:43', '2025-09-24 01:47:43', 4, 10, 'EDES-4HWTMEOUUAJV', 4),
(18, 5, 'Payment confirmation for invoice INV-2025-2E116BC6', 'high', 'resolved', 'I\'m having trouble processing the payment for invoice INV-2025-2E116BC6 (Amount: $149.00). The payment gateway is showing an error. Can you help?', '2025-09-24 01:47:44', '2025-09-24 01:47:44', 6, 15, 'EEP-XYRASEYKJQ5T', 4),
(19, 5, 'Question about invoice INV-2025-ADBB6932', 'low', 'open', 'I\'m having trouble processing the payment for invoice INV-2025-ADBB6932 (Amount: $49.00). The payment gateway is showing an error. Can you help?', '2025-09-24 01:47:44', '2025-09-24 01:47:44', 8, 19, 'ACFP-IOMRQSTA7WDW', 3),
(20, 5, 'Refund request for invoice INV-2025-4BD5F35C', 'medium', 'open', 'I haven\'t received invoice INV-2025-4BD5F35C in my email. Could you please resend it? The amount should be $79.00.', '2025-09-24 01:47:44', '2025-09-24 01:47:44', 9, 23, 'TMA-ZVDPLKQDD6HM', 1),
(21, 4, 'Invoice INV-2025-8B427BEB not received', 'high', 'open', 'I\'ve made the payment for invoice INV-2025-8B427BEB but the status still shows as pending. Amount paid: $99.00. Can you confirm receipt?', '2025-09-24 01:47:44', '2025-09-24 01:47:44', 12, 29, 'ULMS-MBXTU6PBEQPB', 2),
(22, 2, 'Payment issue with invoice INV-2025-E535F9B8', 'high', 'resolved', 'I haven\'t received invoice INV-2025-E535F9B8 in my email. Could you please resend it? The amount should be $199.00.', '2025-09-24 01:47:44', '2025-09-24 01:47:44', 13, 31, 'EDES-3TFZX1WUNZRW', 2),
(23, 6, 'Question about pricing and features', 'medium', 'open', 'Hi, I\'m interested in your license management system. Could you please provide more information about the pricing and available features? I\'m looking for a solution for my software business.', '2025-09-24 01:47:44', '2025-09-24 01:47:44', NULL, NULL, NULL, 2),
(24, 3, 'Installation help needed', 'high', 'pending', 'I\'m having trouble installing the system on my server. I followed the installation guide but I\'m getting a database connection error. Can you help me troubleshoot this issue?', '2025-09-24 01:47:44', '2025-09-24 01:47:44', NULL, NULL, NULL, 1),
(25, 4, 'Custom integration request', 'low', 'open', 'I need a custom integration with our existing CRM system. Is this something you can help with? What would be the timeline and cost for such a project?', '2025-09-24 01:47:44', '2025-09-24 01:47:44', NULL, NULL, NULL, 4),
(26, 4, 'API documentation question', 'medium', 'resolved', 'I\'m trying to integrate the API with my application but I\'m not sure about the authentication method. The documentation mentions API keys but I can\'t find where to generate them in the admin panel.', '2025-09-24 01:47:44', '2025-09-24 01:47:44', NULL, NULL, NULL, 1),
(27, 6, 'License transfer request', 'medium', 'open', 'I need to transfer my license to a different domain. The old domain is no longer in use and I want to move the license to my new website. How can I do this?', '2025-09-24 01:47:44', '2025-09-24 01:47:44', NULL, NULL, NULL, 3);

-- --------------------------------------------------------

--
-- بنية الجدول `ticket_categories`
--

CREATE TABLE `ticket_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_keywords` text DEFAULT NULL,
  `meta_description` text DEFAULT NULL,
  `icon` varchar(100) DEFAULT NULL,
  `priority` varchar(20) NOT NULL DEFAULT 'medium',
  `color` varchar(7) NOT NULL DEFAULT '#3B82F6',
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `requires_login` tinyint(1) NOT NULL DEFAULT 0,
  `requires_valid_purchase_code` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `ticket_categories`
--

INSERT INTO `ticket_categories` (`id`, `name`, `slug`, `description`, `meta_title`, `meta_keywords`, `meta_description`, `icon`, `priority`, `color`, `sort_order`, `is_active`, `requires_login`, `requires_valid_purchase_code`, `created_at`, `updated_at`) VALUES
(1, 'Technical Support', 'technical-support', 'Get help with technical issues, bugs, and troubleshooting', NULL, NULL, NULL, NULL, 'medium', '#3B82F6', 1, 1, 1, 1, '2025-09-24 01:47:20', '2025-09-24 01:47:20'),
(2, 'Sales', 'sales', 'Questions about pricing, features, and purchasing', NULL, NULL, NULL, NULL, 'medium', '#10B981', 2, 1, 0, 0, '2025-09-24 01:47:20', '2025-09-24 01:47:20'),
(3, 'Licenses', 'licenses', 'License verification, domain changes, and license management', NULL, NULL, NULL, NULL, 'medium', '#F59E0B', 3, 1, 1, 1, '2025-09-24 01:47:20', '2025-09-24 01:47:20'),
(4, 'Custom Development', 'custom-development', 'Request custom features, modifications, and development services', NULL, NULL, NULL, NULL, 'medium', '#8B5CF6', 4, 1, 0, 0, '2025-09-24 01:47:20', '2025-09-24 01:47:20');

-- --------------------------------------------------------

--
-- بنية الجدول `ticket_replies`
--

CREATE TABLE `ticket_replies` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `ticket_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `message` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `ticket_replies`
--

INSERT INTO `ticket_replies` (`id`, `ticket_id`, `user_id`, `message`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 'I\'ve successfully resolved your issue with Custom feature request. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-24 15:47:42', '2025-09-26 16:47:42'),
(2, 1, 1, 'I apologize for the inconvenience caused by this issue. I\'ve escalated your case to our technical team for further investigation. We\'ll provide you with an update within 24 hours.', '2025-09-26 05:47:42', '2025-09-24 21:47:42'),
(3, 1, 5, 'I\'m still having trouble with Custom feature request. I\'ve attached some screenshots that might help you understand the issue better. Please let me know if you need any additional information.', '2025-09-24 16:47:42', '2025-09-25 11:47:42'),
(4, 1, 1, 'Thank you for contacting our support team. I\'ve received your request regarding: Custom feature request. Let me investigate this issue and get back to you with a solution.', '2025-09-24 20:47:42', '2025-09-26 07:47:42'),
(5, 2, 1, 'I\'ve reviewed your case and found the solution. Please follow these steps to resolve the issue:\n\n1. First, check your configuration settings\n2. Clear your cache and cookies\n3. Try accessing the system again\n\nLet me know if you need any clarification.', '2025-09-25 14:47:42', '2025-09-26 22:47:42'),
(6, 2, 1, 'I understand your concern about Configuration problem with Ultimate License Management System. This is a known issue and we\'re working on a fix. In the meantime, here\'s a workaround you can try...', '2025-09-25 07:47:42', '2025-09-26 01:47:42'),
(7, 2, 4, 'Thank you for your quick response. I\'ve tried the suggested solution but I\'m still experiencing the same issue. Could you provide additional guidance?', '2025-09-26 14:47:42', '2025-09-25 09:47:42'),
(8, 3, 4, 'I have a few additional questions about White-label solution inquiry:\n\n1. Will this affect my existing data?\n2. Do I need to backup anything before proceeding?\n3. How long will the fix take to implement?', '2025-09-25 02:47:43', '2025-09-25 15:47:43'),
(9, 4, 4, 'I\'ve tested the solution and everything is working perfectly now. Thank you for your excellent support! I really appreciate your help.', '2025-09-26 12:47:43', '2025-09-24 10:47:43'),
(10, 4, 4, 'I\'ve tested the solution and everything is working perfectly now. Thank you for your excellent support! I really appreciate your help.', '2025-09-26 17:47:43', '2025-09-25 01:47:43'),
(11, 5, 6, 'I\'m still having trouble with License transfer request. I\'ve attached some screenshots that might help you understand the issue better. Please let me know if you need any additional information.', '2025-09-24 17:47:43', '2025-09-26 07:47:43'),
(12, 6, 5, 'Thank you for your quick response. I\'ve tried the suggested solution but I\'m still experiencing the same issue. Could you provide additional guidance?', '2025-09-26 12:47:43', '2025-09-26 03:47:43'),
(13, 6, 1, 'I\'ve updated your account settings to resolve the issue with License renewal question. You should now be able to access all features without any problems. Please test and confirm.', '2025-09-25 21:47:43', '2025-09-24 08:47:43'),
(14, 7, 6, 'Perfect! The issue has been resolved. I can now access all features without any problems. Thank you for your professional support and quick response time.', '2025-09-26 04:47:43', '2025-09-24 23:47:43'),
(15, 7, 1, 'Great news! I\'ve identified and fixed the issue. The problem was caused by a recent update that affected the license validation process. Please try again and let me know if everything is working correctly.', '2025-09-26 01:47:43', '2025-09-26 01:47:43'),
(16, 7, 1, 'I\'ve updated your account settings to resolve the issue with Custom feature request. You should now be able to access all features without any problems. Please test and confirm.', '2025-09-25 21:47:43', '2025-09-26 15:47:43'),
(17, 7, 6, 'I have a few additional questions about Custom feature request:\n\n1. Will this affect my existing data?\n2. Do I need to backup anything before proceeding?\n3. How long will the fix take to implement?', '2025-09-25 11:47:43', '2025-09-24 17:47:43'),
(18, 8, 1, 'Thank you for contacting our support team. I\'ve received your request regarding: White-label solution inquiry. Let me investigate this issue and get back to you with a solution.', '2025-09-24 06:47:43', '2025-09-26 18:47:43'),
(19, 8, 1, 'I\'ve successfully resolved your issue with White-label solution inquiry. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-26 00:47:43', '2025-09-26 05:47:43'),
(20, 9, 5, 'The workaround you suggested worked temporarily, but the issue has returned. Is there a permanent fix available? I need this resolved as soon as possible.', '2025-09-25 10:47:43', '2025-09-24 07:47:43'),
(21, 9, 1, 'I apologize for the inconvenience caused by this issue. I\'ve escalated your case to our technical team for further investigation. We\'ll provide you with an update within 24 hours.', '2025-09-24 17:47:43', '2025-09-24 07:47:43'),
(22, 9, 1, 'Thank you for contacting our support team. I\'ve received your request regarding: Feature comparison needed. Let me investigate this issue and get back to you with a solution.', '2025-09-25 07:47:43', '2025-09-26 09:47:43'),
(23, 10, 1, 'I understand your concern about Issue with Modern Admin Dashboard installation. This is a known issue and we\'re working on a fix. In the meantime, here\'s a workaround you can try...', '2025-09-24 21:47:43', '2025-09-27 01:47:43'),
(24, 11, 1, 'I\'ve successfully resolved your issue with License transfer request. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-25 00:47:43', '2025-09-24 14:47:43'),
(25, 11, 3, 'Thank you for your quick response. I\'ve tried the suggested solution but I\'m still experiencing the same issue. Could you provide additional guidance?', '2025-09-25 00:47:43', '2025-09-26 20:47:43'),
(26, 11, 3, 'I\'ve tested the solution and everything is working perfectly now. Thank you for your excellent support! I really appreciate your help.', '2025-09-26 23:47:43', '2025-09-26 23:47:43'),
(27, 12, 1, 'I\'ve updated your account settings to resolve the issue with License key not working. You should now be able to access all features without any problems. Please test and confirm.', '2025-09-26 07:47:43', '2025-09-25 00:47:43'),
(28, 12, 1, 'I apologize for the inconvenience caused by this issue. I\'ve escalated your case to our technical team for further investigation. We\'ll provide you with an update within 24 hours.', '2025-09-26 08:47:43', '2025-09-25 04:47:43'),
(29, 12, 1, 'Thank you for contacting our support team. I\'ve received your request regarding: License key not working. Let me investigate this issue and get back to you with a solution.', '2025-09-25 18:47:43', '2025-09-24 16:47:43'),
(30, 13, 2, 'I followed the steps you provided, but I\'m getting an error message. Here\'s the exact error: \'Connection timeout - Unable to establish database connection\'. What should I do next?', '2025-09-26 00:47:43', '2025-09-26 19:47:43'),
(31, 13, 1, 'I\'ve successfully resolved your issue with License renewal question. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-24 05:47:43', '2025-09-25 22:47:43'),
(32, 13, 1, 'I\'ve reviewed your case and found the solution. Please follow these steps to resolve the issue:\n\n1. First, check your configuration settings\n2. Clear your cache and cookies\n3. Try accessing the system again\n\nLet me know if you need any clarification.', '2025-09-24 12:47:43', '2025-09-26 11:47:43'),
(33, 13, 1, 'I understand your concern about License renewal question. This is a known issue and we\'re working on a fix. In the meantime, here\'s a workaround you can try...', '2025-09-25 20:47:43', '2025-09-24 10:47:43'),
(34, 14, 2, 'I followed the steps you provided, but I\'m getting an error message. Here\'s the exact error: \'Connection timeout - Unable to establish database connection\'. What should I do next?', '2025-09-25 04:47:43', '2025-09-25 02:47:43'),
(35, 14, 2, 'Perfect! The issue has been resolved. I can now access all features without any problems. Thank you for your professional support and quick response time.', '2025-09-25 10:47:43', '2025-09-26 23:47:43'),
(36, 14, 1, 'Thank you for your patience. I\'ve implemented a temporary fix for Issue with Easy Ecommerce Platform installation. A permanent solution will be included in our next update, which is scheduled for next week.', '2025-09-25 16:47:43', '2025-09-25 23:47:43'),
(37, 15, 4, 'I have a few additional questions about Payment issue with invoice INV-2025-E40AED58:\n\n1. Will this affect my existing data?\n2. Do I need to backup anything before proceeding?\n3. How long will the fix take to implement?', '2025-09-24 10:47:43', '2025-09-24 07:47:43'),
(38, 15, 4, 'I\'m still having trouble with Payment issue with invoice INV-2025-E40AED58. I\'ve attached some screenshots that might help you understand the issue better. Please let me know if you need any additional information.', '2025-09-25 08:47:43', '2025-09-25 14:47:43'),
(39, 15, 1, 'I apologize for the inconvenience caused by this issue. I\'ve escalated your case to our technical team for further investigation. We\'ll provide you with an update within 24 hours.', '2025-09-25 18:47:43', '2025-09-26 13:47:43'),
(40, 15, 1, 'I\'ve updated your account settings to resolve the issue with Payment issue with invoice INV-2025-E40AED58. You should now be able to access all features without any problems. Please test and confirm.', '2025-09-24 23:47:43', '2025-09-25 10:47:43'),
(41, 16, 1, 'I\'ve successfully resolved your issue with Payment issue with invoice INV-2025-EC843907. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-25 17:47:43', '2025-09-24 22:47:43'),
(42, 16, 4, 'I have a few additional questions about Payment issue with invoice INV-2025-EC843907:\n\n1. Will this affect my existing data?\n2. Do I need to backup anything before proceeding?\n3. How long will the fix take to implement?', '2025-09-24 20:47:43', '2025-09-26 14:47:43'),
(43, 16, 1, 'I\'ve successfully resolved your issue with Payment issue with invoice INV-2025-EC843907. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-25 18:47:43', '2025-09-26 22:47:43'),
(44, 17, 1, 'Great news! I\'ve identified and fixed the issue. The problem was caused by a recent update that affected the license validation process. Please try again and let me know if everything is working correctly.', '2025-09-24 15:47:43', '2025-09-24 13:47:43'),
(45, 17, 1, 'I apologize for the inconvenience caused by this issue. I\'ve escalated your case to our technical team for further investigation. We\'ll provide you with an update within 24 hours.', '2025-09-24 13:47:43', '2025-09-26 22:47:43'),
(46, 17, 1, 'I\'ve reviewed your case and found the solution. Please follow these steps to resolve the issue:\n\n1. First, check your configuration settings\n2. Clear your cache and cookies\n3. Try accessing the system again\n\nLet me know if you need any clarification.', '2025-09-26 19:47:43', '2025-09-24 05:47:43'),
(47, 17, 4, 'Perfect! The issue has been resolved. I can now access all features without any problems. Thank you for your professional support and quick response time.', '2025-09-26 02:47:43', '2025-09-26 17:47:43'),
(48, 18, 5, 'Thank you for your quick response. I\'ve tried the suggested solution but I\'m still experiencing the same issue. Could you provide additional guidance?', '2025-09-24 11:47:44', '2025-09-24 22:47:44'),
(49, 18, 5, 'I\'ve tested the solution and everything is working perfectly now. Thank you for your excellent support! I really appreciate your help.', '2025-09-25 15:47:44', '2025-09-24 12:47:44'),
(50, 18, 1, 'I apologize for the inconvenience caused by this issue. I\'ve escalated your case to our technical team for further investigation. We\'ll provide you with an update within 24 hours.', '2025-09-25 14:47:44', '2025-09-26 10:47:44'),
(51, 18, 1, 'I\'ve reviewed your case and found the solution. Please follow these steps to resolve the issue:\n\n1. First, check your configuration settings\n2. Clear your cache and cookies\n3. Try accessing the system again\n\nLet me know if you need any clarification.', '2025-09-26 15:47:44', '2025-09-25 10:47:44'),
(52, 19, 1, 'Great news! I\'ve identified and fixed the issue. The problem was caused by a recent update that affected the license validation process. Please try again and let me know if everything is working correctly.', '2025-09-26 16:47:44', '2025-09-26 04:47:44'),
(53, 19, 5, 'Thank you for your quick response. I\'ve tried the suggested solution but I\'m still experiencing the same issue. Could you provide additional guidance?', '2025-09-24 16:47:44', '2025-09-26 18:47:44'),
(54, 20, 5, 'I followed the steps you provided, but I\'m getting an error message. Here\'s the exact error: \'Connection timeout - Unable to establish database connection\'. What should I do next?', '2025-09-26 14:47:44', '2025-09-24 21:47:44'),
(55, 20, 5, 'The workaround you suggested worked temporarily, but the issue has returned. Is there a permanent fix available? I need this resolved as soon as possible.', '2025-09-24 22:47:44', '2025-09-25 23:47:44'),
(56, 21, 1, 'I\'ve successfully resolved your issue with Invoice INV-2025-8B427BEB not received. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-25 09:47:44', '2025-09-25 15:47:44'),
(57, 22, 2, 'I have a few additional questions about Payment issue with invoice INV-2025-E535F9B8:\n\n1. Will this affect my existing data?\n2. Do I need to backup anything before proceeding?\n3. How long will the fix take to implement?', '2025-09-24 02:47:44', '2025-09-27 01:47:44'),
(58, 22, 2, 'I have a few additional questions about Payment issue with invoice INV-2025-E535F9B8:\n\n1. Will this affect my existing data?\n2. Do I need to backup anything before proceeding?\n3. How long will the fix take to implement?', '2025-09-26 20:47:44', '2025-09-26 07:47:44'),
(59, 23, 6, 'Thank you for your quick response. I\'ve tried the suggested solution but I\'m still experiencing the same issue. Could you provide additional guidance?', '2025-09-27 01:47:44', '2025-09-25 03:47:44'),
(60, 23, 6, 'I followed the steps you provided, but I\'m getting an error message. Here\'s the exact error: \'Connection timeout - Unable to establish database connection\'. What should I do next?', '2025-09-25 18:47:44', '2025-09-25 15:47:44'),
(61, 24, 3, 'Thank you for your quick response. I\'ve tried the suggested solution but I\'m still experiencing the same issue. Could you provide additional guidance?', '2025-09-25 09:47:44', '2025-09-25 21:47:44'),
(62, 25, 4, 'I have a few additional questions about Custom integration request:\n\n1. Will this affect my existing data?\n2. Do I need to backup anything before proceeding?\n3. How long will the fix take to implement?', '2025-09-24 20:47:44', '2025-09-26 17:47:44'),
(63, 25, 1, 'I\'ve successfully resolved your issue with Custom integration request. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-24 16:47:44', '2025-09-25 11:47:44'),
(64, 26, 1, 'I apologize for the inconvenience caused by this issue. I\'ve escalated your case to our technical team for further investigation. We\'ll provide you with an update within 24 hours.', '2025-09-24 21:47:44', '2025-09-25 17:47:44'),
(65, 27, 1, 'I\'ve successfully resolved your issue with License transfer request. The problem was related to a configuration setting that needed to be updated. Your system should now be working properly.', '2025-09-26 11:47:44', '2025-09-26 07:47:44');

-- --------------------------------------------------------

--
-- بنية الجدول `users`
--

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `firstname` varchar(255) DEFAULT NULL,
  `lastname` varchar(255) DEFAULT NULL,
  `companyname` varchar(255) DEFAULT NULL,
  `address1` text DEFAULT NULL,
  `address2` text DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `state` varchar(255) DEFAULT NULL,
  `postcode` varchar(255) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL,
  `phonenumber` varchar(255) DEFAULT NULL,
  `currency` varchar(3) NOT NULL DEFAULT 'USD',
  `notes` text DEFAULT NULL,
  `cardnum` varchar(255) DEFAULT NULL,
  `startdate` date DEFAULT NULL,
  `expdate` date DEFAULT NULL,
  `lastlogin` timestamp NULL DEFAULT NULL,
  `status` enum('active','inactive','suspended') NOT NULL DEFAULT 'active',
  `language` varchar(5) NOT NULL DEFAULT 'en',
  `allow_sso` tinyint(1) NOT NULL DEFAULT 0,
  `email_verified` tinyint(1) NOT NULL DEFAULT 0,
  `email_preferences` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`email_preferences`)),
  `pwresetkey` varchar(255) DEFAULT NULL,
  `pwresetexpiry` timestamp NULL DEFAULT NULL,
  `credit` decimal(10,2) NOT NULL DEFAULT 0.00,
  `taxexempt` tinyint(1) NOT NULL DEFAULT 0,
  `latefeeoveride` tinyint(1) NOT NULL DEFAULT 0,
  `overideduenotices` tinyint(1) NOT NULL DEFAULT 0,
  `separateinvoices` tinyint(1) NOT NULL DEFAULT 0,
  `disableautocc` tinyint(1) NOT NULL DEFAULT 0,
  `emailoptout` tinyint(1) NOT NULL DEFAULT 0,
  `marketing_emails_opt_in` tinyint(1) NOT NULL DEFAULT 0,
  `overrideautoclose` tinyint(1) NOT NULL DEFAULT 0,
  `datecreated` timestamp NULL DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `role` varchar(255) NOT NULL DEFAULT 'user',
  `is_admin` tinyint(1) NOT NULL DEFAULT 0,
  `envato_username` varchar(255) DEFAULT NULL,
  `envato_id` varchar(255) DEFAULT NULL,
  `envato_token` text DEFAULT NULL,
  `envato_refresh_token` text DEFAULT NULL,
  `envato_token_expires_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- إرجاع أو استيراد بيانات الجدول `users`
--

INSERT INTO `users` (`id`, `name`, `firstname`, `lastname`, `companyname`, `address1`, `address2`, `city`, `state`, `postcode`, `country`, `phonenumber`, `currency`, `notes`, `cardnum`, `startdate`, `expdate`, `lastlogin`, `status`, `language`, `allow_sso`, `email_verified`, `email_preferences`, `pwresetkey`, `pwresetexpiry`, `credit`, `taxexempt`, `latefeeoveride`, `overideduenotices`, `separateinvoices`, `disableautocc`, `emailoptout`, `marketing_emails_opt_in`, `overrideautoclose`, `datecreated`, `email`, `email_verified_at`, `role`, `is_admin`, `envato_username`, `envato_id`, `envato_token`, `envato_refresh_token`, `envato_token_expires_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'System Administrator', 'System', 'Administrator', NULL, '123 Admin Street', NULL, 'New York', 'NY', '10001', 'US', '+1-555-0123', 'USD', NULL, NULL, NULL, NULL, '2025-09-24 01:47:23', 'active', 'en', 0, 0, NULL, NULL, NULL, '0.00', 0, 0, 0, 0, 0, 0, 0, 0, '2025-09-24 01:47:23', 'admin@licensesystem.com', '2025-09-24 01:47:23', 'admin', 1, NULL, NULL, NULL, NULL, NULL, '$2y$12$ltLwn4w39Hg8w21PSWrDEu8xaWfi0EqqWMjLqxubeOXT9qEtoWI4G', NULL, '2025-09-24 01:47:23', '2025-09-24 01:47:23'),
(2, 'John Doe', 'John', 'Doe', NULL, '456 User Avenue', NULL, 'Los Angeles', 'CA', '90210', 'US', '+1-555-0456', 'USD', NULL, NULL, NULL, NULL, '2025-09-24 01:47:24', 'active', 'en', 0, 0, NULL, NULL, NULL, '0.00', 0, 0, 0, 0, 0, 0, 0, 0, '2025-09-24 01:47:24', 'user@licensesystem.com', '2025-09-24 01:47:24', 'user', 0, NULL, NULL, NULL, NULL, NULL, '$2y$12$kNwljpGX7Ejdmdbjn3m5LuhOO6X7HOuPVeAvh37Xj8LI/n9SrTW0m', NULL, '2025-09-24 01:47:24', '2025-09-24 01:47:24'),
(3, 'Jane Developer', 'Jane', 'Developer', 'Dev Solutions Inc.', '789 Dev Street', NULL, 'San Francisco', 'CA', '94102', 'US', '+1-555-0789', 'USD', NULL, NULL, NULL, NULL, '2025-09-24 01:47:24', 'active', 'en', 0, 0, NULL, NULL, NULL, '0.00', 0, 0, 0, 0, 0, 0, 0, 0, '2025-09-24 01:47:24', 'developer@licensesystem.com', '2025-09-24 01:47:24', 'developer', 0, NULL, NULL, NULL, NULL, NULL, '$2y$12$WovGrXVo6POFz2mSvOZHr.2NL2WhcECpWklIK7JPXe8ij0A5.EdTa', NULL, '2025-09-24 01:47:24', '2025-09-24 01:47:24'),
(4, 'Alice Smith', 'Alice', 'Smith', NULL, 'Hauptstraße 123', NULL, 'Berlin', 'Berlin', '10115', 'DE', '+49-30-12345678', 'EUR', NULL, NULL, NULL, NULL, NULL, 'active', 'en', 0, 0, NULL, NULL, NULL, '0.00', 0, 0, 0, 0, 0, 0, 0, 0, '2025-08-25 01:47:24', 'alice@example.com', '2025-09-24 01:47:24', 'user', 0, NULL, NULL, NULL, NULL, NULL, '$2y$12$vve7YXtGr./cxGymzvxEAey3LP3LXGBuGwoX2a.i45F8YTEjm3QzC', NULL, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(5, 'Bob Johnson', 'Bob', 'Johnson', NULL, '123 Baker Street', NULL, 'London', 'England', 'NW1 6XE', 'GB', '+44-20-12345678', 'GBP', NULL, NULL, NULL, NULL, NULL, 'active', 'en', 0, 0, NULL, NULL, NULL, '0.00', 0, 0, 0, 0, 0, 0, 0, 0, '2025-09-09 01:47:24', 'bob@example.com', '2025-09-24 01:47:24', 'user', 0, NULL, NULL, NULL, NULL, NULL, '$2y$12$3tOhmbTFxOJnmqA8wVY1IuHEqDAbwYDgZDLvbmfpqxnsQ7fiuyK52', NULL, '2025-09-24 01:47:25', '2025-09-24 01:47:25'),
(6, 'Maria Garcia', 'Maria', 'Garcia', NULL, 'Calle Gran Vía 456', NULL, 'Madrid', 'Madrid', '28013', 'ES', '+34-91-12345678', 'EUR', NULL, NULL, NULL, NULL, NULL, 'active', 'es', 0, 0, NULL, NULL, NULL, '0.00', 0, 0, 0, 0, 0, 0, 0, 0, '2025-09-17 01:47:25', 'maria@example.com', '2025-09-24 01:47:25', 'user', 0, NULL, NULL, NULL, NULL, NULL, '$2y$12$5r5rd9Z4eJ8LnxbQF4acW.0o5xUNflf1ItS2YQbTpMcUC.Swv2kv2', NULL, '2025-09-24 01:47:25', '2025-09-24 01:47:25');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `cache`
--
ALTER TABLE `cache`
  ADD PRIMARY KEY (`key`);

--
-- Indexes for table `cache_locks`
--
ALTER TABLE `cache_locks`
  ADD PRIMARY KEY (`key`);

--
-- Indexes for table `complete_settings`
--
ALTER TABLE `complete_settings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `customers_email_unique` (`email`),
  ADD KEY `customers_envato_username_index` (`envato_username`);

--
-- Indexes for table `email_templates`
--
ALTER TABLE `email_templates`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email_templates_name_unique` (`name`),
  ADD KEY `email_templates_type_category_index` (`type`,`category`),
  ADD KEY `email_templates_is_active_index` (`is_active`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `invoices`
--
ALTER TABLE `invoices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `invoices_invoice_number_unique` (`invoice_number`),
  ADD KEY `invoices_product_id_foreign` (`product_id`),
  ADD KEY `invoices_user_id_status_index` (`user_id`,`status`),
  ADD KEY `invoices_due_date_index` (`due_date`),
  ADD KEY `invoices_license_id_index` (`license_id`);

--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `jobs_queue_index` (`queue`);

--
-- Indexes for table `job_batches`
--
ALTER TABLE `job_batches`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `kb_articles`
--
ALTER TABLE `kb_articles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `kb_articles_slug_unique` (`slug`),
  ADD KEY `kb_articles_kb_category_id_foreign` (`kb_category_id`),
  ADD KEY `kb_articles_product_id_foreign` (`product_id`);

--
-- Indexes for table `kb_categories`
--
ALTER TABLE `kb_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `kb_categories_slug_unique` (`slug`),
  ADD KEY `kb_categories_parent_id_foreign` (`parent_id`),
  ADD KEY `kb_categories_product_id_foreign` (`product_id`);

--
-- Indexes for table `licenses`
--
ALTER TABLE `licenses`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `licenses_purchase_code_unique` (`purchase_code`),
  ADD UNIQUE KEY `licenses_license_key_unique` (`license_key`),
  ADD KEY `licenses_product_id_foreign` (`product_id`),
  ADD KEY `licenses_customer_id_foreign` (`customer_id`),
  ADD KEY `licenses_user_id_foreign` (`user_id`);

--
-- Indexes for table `license_domains`
--
ALTER TABLE `license_domains`
  ADD PRIMARY KEY (`id`),
  ADD KEY `license_domains_license_id_foreign` (`license_id`),
  ADD KEY `license_domains_domain_index` (`domain`);

--
-- Indexes for table `license_logs`
--
ALTER TABLE `license_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `license_logs_license_id_foreign` (`license_id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  ADD PRIMARY KEY (`email`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `products`
--
ALTER TABLE `products`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `products_slug_unique` (`slug`),
  ADD KEY `products_envato_item_id_index` (`envato_item_id`),
  ADD KEY `products_category_id_foreign` (`category_id`),
  ADD KEY `products_programming_language_foreign` (`programming_language`),
  ADD KEY `products_kb_category_id_foreign` (`kb_category_id`);

--
-- Indexes for table `product_categories`
--
ALTER TABLE `product_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `product_categories_slug_unique` (`slug`);

--
-- Indexes for table `product_kb_articles`
--
ALTER TABLE `product_kb_articles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `product_kb_articles_product_id_kb_article_id_unique` (`product_id`,`kb_article_id`),
  ADD KEY `product_kb_articles_product_id_index` (`product_id`),
  ADD KEY `product_kb_articles_kb_article_id_index` (`kb_article_id`);

--
-- Indexes for table `product_kb_categories`
--
ALTER TABLE `product_kb_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `product_kb_categories_product_id_kb_category_id_unique` (`product_id`,`kb_category_id`),
  ADD KEY `product_kb_categories_product_id_index` (`product_id`),
  ADD KEY `product_kb_categories_kb_category_id_index` (`kb_category_id`);

--
-- Indexes for table `programming_languages`
--
ALTER TABLE `programming_languages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `programming_languages_slug_unique` (`slug`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

--
-- Indexes for table `sessions`
--
ALTER TABLE `sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sessions_user_id_index` (`user_id`),
  ADD KEY `sessions_last_activity_index` (`last_activity`);

--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tickets`
--
ALTER TABLE `tickets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `tickets_user_id_foreign` (`user_id`),
  ADD KEY `tickets_license_id_foreign` (`license_id`),
  ADD KEY `tickets_category_id_foreign` (`category_id`);

--
-- Indexes for table `ticket_categories`
--
ALTER TABLE `ticket_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ticket_categories_slug_unique` (`slug`);

--
-- Indexes for table `ticket_replies`
--
ALTER TABLE `ticket_replies`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ticket_replies_ticket_id_foreign` (`ticket_id`),
  ADD KEY `ticket_replies_user_id_foreign` (`user_id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `complete_settings`
--
ALTER TABLE `complete_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `email_templates`
--
ALTER TABLE `email_templates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `invoices`
--
ALTER TABLE `invoices`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;

--
-- AUTO_INCREMENT for table `jobs`
--
ALTER TABLE `jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `kb_articles`
--
ALTER TABLE `kb_articles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;

--
-- AUTO_INCREMENT for table `kb_categories`
--
ALTER TABLE `kb_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT for table `licenses`
--
ALTER TABLE `licenses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `license_domains`
--
ALTER TABLE `license_domains`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `license_logs`
--
ALTER TABLE `license_logs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=171;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `product_kb_articles`
--
ALTER TABLE `product_kb_articles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `product_kb_categories`
--
ALTER TABLE `product_kb_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `programming_languages`
--
ALTER TABLE `programming_languages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tickets`
--
ALTER TABLE `tickets`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT for table `ticket_categories`
--
ALTER TABLE `ticket_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `ticket_replies`
--
ALTER TABLE `ticket_replies`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=66;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- قيود الجداول المحفوظة
--

--
-- القيود للجدول `invoices`
--
ALTER TABLE `invoices`
  ADD CONSTRAINT `invoices_license_id_foreign` FOREIGN KEY (`license_id`) REFERENCES `licenses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `invoices_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `invoices_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `kb_articles`
--
ALTER TABLE `kb_articles`
  ADD CONSTRAINT `kb_articles_kb_category_id_foreign` FOREIGN KEY (`kb_category_id`) REFERENCES `kb_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `kb_articles_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL;

--
-- القيود للجدول `kb_categories`
--
ALTER TABLE `kb_categories`
  ADD CONSTRAINT `kb_categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `kb_categories` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `kb_categories_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL;

--
-- القيود للجدول `licenses`
--
ALTER TABLE `licenses`
  ADD CONSTRAINT `licenses_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `licenses_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `licenses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `license_domains`
--
ALTER TABLE `license_domains`
  ADD CONSTRAINT `license_domains_license_id_foreign` FOREIGN KEY (`license_id`) REFERENCES `licenses` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `license_logs`
--
ALTER TABLE `license_logs`
  ADD CONSTRAINT `license_logs_license_id_foreign` FOREIGN KEY (`license_id`) REFERENCES `licenses` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `products`
--
ALTER TABLE `products`
  ADD CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_categories` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `products_kb_category_id_foreign` FOREIGN KEY (`kb_category_id`) REFERENCES `kb_categories` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `products_programming_language_foreign` FOREIGN KEY (`programming_language`) REFERENCES `programming_languages` (`id`) ON DELETE SET NULL;

--
-- القيود للجدول `product_kb_articles`
--
ALTER TABLE `product_kb_articles`
  ADD CONSTRAINT `product_kb_articles_kb_article_id_foreign` FOREIGN KEY (`kb_article_id`) REFERENCES `kb_articles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_kb_articles_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `product_kb_categories`
--
ALTER TABLE `product_kb_categories`
  ADD CONSTRAINT `product_kb_categories_kb_category_id_foreign` FOREIGN KEY (`kb_category_id`) REFERENCES `kb_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_kb_categories_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `tickets`
--
ALTER TABLE `tickets`
  ADD CONSTRAINT `tickets_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `ticket_categories` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `tickets_license_id_foreign` FOREIGN KEY (`license_id`) REFERENCES `licenses` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `tickets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- القيود للجدول `ticket_replies`
--
ALTER TABLE `ticket_replies`
  ADD CONSTRAINT `ticket_replies_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ticket_replies_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
