CREATE TABLE IF NOT EXISTS sensor_data (
    id INT AUTO_INCREMENT PRIMARY KEY,
    timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    temperature FLOAT,
    lm393 INT,
    input6 BOOLEAN,
    input7 BOOLEAN,
    input8 BOOLEAN,
    input9 BOOLEAN
);
