CREATE TABLE IF NOT EXISTS `wizard_steps` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `parent_id` int(11) DEFAULT NULL,
  `label_pl` varchar(255) NOT NULL,
  `label_en` varchar(255) NOT NULL,
  `is_final` tinyint(1) DEFAULT 0,
  `ticket_type` varchar(10) DEFAULT NULL COMMENT 'INC or REQ',
  PRIMARY KEY (`id`),
  KEY `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- Sample Data (Optional, for structure visualization)
-- INSERT INTO `wizard_steps` (`parent_id`, `label_pl`, `label_en`, `is_final`, `ticket_type`) VALUES
-- (NULL, 'Sprzęt', 'Hardware', 0, NULL),
-- (NULL, 'Oprogramowanie', 'Software', 0, NULL),
-- (1, 'Komputer', 'Computer', 0, NULL),
-- (1, 'Drukarka', 'Printer', 0, NULL),
-- (3, 'Nie włącza się', 'Won\'t turn on', 1, 'INC'),
-- (3, 'Wolno działa', 'Performance issues', 1, 'INC');
