[
  {
    "type": "insert",
    "description": "Insert sample support categories",
    "database": "kiosk_buykiosk",
    "check_query": "SELECT id FROM support_categories WHERE slug = 'getting-started' LIMIT 1",
    "sql": "INSERT INTO `support_categories` (`name`, `slug`, `description`, `icon`, `sort_order`, `is_active`) VALUES\n('Getting Started', 'getting-started', 'Learn the basics of using BuyerKiosk', 'fa-rocket', 1, 1),\n('Queue Management', 'queue-management', 'Everything about managing your buy queue', 'fa-list', 2, 1),\n('Customer Management', 'customer-management', 'Managing customer information and history', 'fa-users', 3, 1),\n('Reports & Analytics', 'reports-analytics', 'Understanding your store data and reports', 'fa-chart-bar', 4, 1),\n('Troubleshooting', 'troubleshooting', 'Common issues and how to resolve them', 'fa-wrench', 5, 1)"
  },
  {
    "type": "insert",
    "description": "Insert sample support articles",
    "database": "kiosk_buykiosk",
    "check_query": "SELECT id FROM support_articles WHERE slug = 'welcome-to-buyerkiosk' LIMIT 1",
    "sql": "INSERT INTO `support_articles` (`category_id`, `title`, `slug`, `content_md`, `content_html`, `author_id`, `status`, `is_featured`, `published_at`) VALUES\n(1, 'Welcome to BuyerKiosk', 'welcome-to-buyerkiosk', '# Welcome to BuyerKiosk\\n\\nBuyerKiosk is a comprehensive retail management system designed to streamline your buy operations.\\n\\n## Key Features\\n\\n- **Queue Management**: Efficiently manage customer buy queues\\n- **Customer Tracking**: Keep track of customer history and preferences\\n- **Analytics**: Get insights into your store performance\\n\\n## Getting Help\\n\\nIf you need assistance, browse our help articles or contact support.', '<h1>Welcome to BuyerKiosk</h1><p>BuyerKiosk is a comprehensive retail management system designed to streamline your buy operations.</p><h2>Key Features</h2><ul><li><strong>Queue Management</strong>: Efficiently manage customer buy queues</li><li><strong>Customer Tracking</strong>: Keep track of customer history and preferences</li><li><strong>Analytics</strong>: Get insights into your store performance</li></ul><h2>Getting Help</h2><p>If you need assistance, browse our help articles or contact support.</p>', 1, 'published', 1, NOW()),\n(2, 'Adding Customers to the Queue', 'adding-customers-to-queue', '# Adding Customers to the Queue\\n\\nLearn how to efficiently add customers to your buy queue.\\n\\n## Quick Add\\n\\n1. Click the **Add Buy** button in the sidebar\\n2. Enter customer phone number\\n3. Add container count\\n4. Click Submit\\n\\n## Tips\\n\\n- Use the barcode scanner for faster entry\\n- Returning customers are auto-populated', '<h1>Adding Customers to the Queue</h1><p>Learn how to efficiently add customers to your buy queue.</p><h2>Quick Add</h2><ol><li>Click the <strong>Add Buy</strong> button in the sidebar</li><li>Enter customer phone number</li><li>Add container count</li><li>Click Submit</li></ol><h2>Tips</h2><ul><li>Use the barcode scanner for faster entry</li><li>Returning customers are auto-populated</li></ul>', 1, 'published', 0, NOW()),\n(5, 'Queue Not Updating', 'queue-not-updating', '# Queue Not Updating\\n\\nIf your queue is not showing updates, try these solutions.\\n\\n## Solutions\\n\\n1. **Refresh the page** - Press F5 or click the refresh button\\n2. **Check internet connection** - Ensure you have a stable connection\\n3. **Clear browser cache** - Press Ctrl+Shift+Delete\\n4. **Try a different browser** - Chrome or Firefox recommended\\n\\n## Still Having Issues?\\n\\nContact support with your store number and a description of the problem.', '<h1>Queue Not Updating</h1><p>If your queue is not showing updates, try these solutions.</p><h2>Solutions</h2><ol><li><strong>Refresh the page</strong> - Press F5 or click the refresh button</li><li><strong>Check internet connection</strong> - Ensure you have a stable connection</li><li><strong>Clear browser cache</strong> - Press Ctrl+Shift+Delete</li><li><strong>Try a different browser</strong> - Chrome or Firefox recommended</li></ol><h2>Still Having Issues?</h2><p>Contact support with your store number and a description of the problem.</p>', 1, 'published', 0, NOW())"
  }
]
