CREATE TABLE workshop_sections (
    id INT AUTO_INCREMENT PRIMARY KEY,
    workshop_id INT NOT NULL,
    title VARCHAR(255) NOT NULL,
    content TEXT DEFAULT NULL,
    sort_order INT NOT NULL DEFAULT 0,
    INDEX idx_workshop_sections_workshop (workshop_id),
    CONSTRAINT fk_workshop_sections_workshop FOREIGN KEY (workshop_id) REFERENCES workshops(id) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
