-- phpMyAdmin SQL Dump
-- version 5.1.1deb5ubuntu1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jun 28, 2023 at 12:49 PM
-- Server version: 8.0.33-0ubuntu0.22.04.2
-- PHP Version: 8.1.2-1ubuntu2.11

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `iomt`
--

-- --------------------------------------------------------

--
-- Table structure for table `espinfo`
--

CREATE TABLE `espinfo` (
  `timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `espMacID` varchar(200) NOT NULL,
  `broker_ip` text NOT NULL,
  `versionCode` varchar(50) NOT NULL,
  `espModel` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `espinfo`
--

INSERT INTO `espinfo` (`timestamp`, `espMacID`, `broker_ip`, `versionCode`, `espModel`) VALUES
('2023-03-11 08:19:04', '94:B5:55:27:AD:18', '52.66.241.131', 'v1.0', 'model2.1.1-esp'),
('2023-03-11 11:18:22', 'node-red', '52.66.241.131', 'v1.0', 'model2.1.1-esp'),
('2023-06-18 07:06:50', 'rrt', '52.66.241.131', 'v1.0', 'khwbfehvh'),
('2023-06-23 20:26:22', 'rrtr', '52.66.241.131', 'v1.0', 'khwbfehvh');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `espinfo`
--
ALTER TABLE `espinfo`
  ADD PRIMARY KEY (`espMacID`);
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
