CREATE DATABASE IF NOT EXISTS painel;
USE painel;

CREATE TABLE IF NOT EXISTS config (
    id INT AUTO_INCREMENT PRIMARY KEY,
    url VARCHAR(255) NOT NULL,
    delay_min INT NOT NULL,
    delay_max INT NOT NULL,
    preserve_query BOOLEAN DEFAULT TRUE
);

INSERT INTO config (url, delay_min, delay_max, preserve_query)
VALUES ('https://emissao-passaporte.org/', 120, 450, true);