nsertMachineStateQuery :: Query
insertMachineStateQuery =
    "Insert into machine_events(machine_id, starttime, duration, state)\
    \values( ? , ? , ? , ? );"

insertMachineStateQuery :: Query
insertMachineStateQuery =
    "Insert into machine_events(machine_id, starttime, duration, state)\
    \values( ? , ? , ? , ? );"
insertMachineStateQuery =
    "Insert into machine_events(machine_id, starttime, duration, state)\
    \values( ? , ? , ? , ? );"