Skip to content

Instantly share code, notes, and snippets.

@giljr
Last active April 27, 2020 13:19
Show Gist options
  • Save giljr/f55af8ce018cdb7d74b0c7434341866a to your computer and use it in GitHub Desktop.
Save giljr/f55af8ce018cdb7d74b0c7434341866a to your computer and use it in GitHub Desktop.
-- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 25-April-2020 at 13:12
-- Server Version: 10.1.24-MariaDB
-- PHP Version: 7.1.6
--
-- Database: `mydb`
--
-- --------------------------------------------------------
--
-- Table structure `sensors`
--
CREATE TABLE `sensors` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(50) NOT NULL,
`value` double NOT NULL,
`timestamp` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
-- Indexes for table `sensors`
--
ALTER TABLE `sensors`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `sensors`
--
ALTER TABLE `sensors`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=0;COMMIT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment