CREATE TABLE IF NOT EXISTS parser_logs (
    id INT AUTO_INCREMENT PRIMARY KEY,
    timestamp DATETIME DEFAULT CURRENT_TIMESTAMP,
    status ENUM('idle', 'parsing', 'proxy_change', 'queue_processing', 'waiting', 'queue') NOT NULL,
    message TEXT,
    url VARCHAR(512),
    proxy VARCHAR(100),
    success BOOLEAN DEFAULT NULL,
    extra JSON DEFAULT NULL
);