CREATE TABLE IF NOT EXISTS `op_energymqtt_check` (
  `id` int NOT NULL AUTO_INCREMENT,
  `topic` varchar(255) NOT NULL,
  `message` text NOT NULL,
  `frequenz` int NOT NULL,
  `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `topic_unique` (`topic`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
