-- Migration: add section_images table (multi-image strips)
-- Run on existing database: fizasie

CREATE TABLE IF NOT EXISTS section_images (
    id INT AUTO_INCREMENT PRIMARY KEY,
    section_key VARCHAR(100) NOT NULL,
    image VARCHAR(255) NOT NULL,
    caption VARCHAR(255) DEFAULT NULL,
    sort_order INT DEFAULT 0,
    is_active TINYINT(1) DEFAULT 1,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    KEY idx_section_key (section_key),
    KEY idx_active (is_active)
);

