forked from DottoreTozzi/iSpindel-TCP-Server
-
Notifications
You must be signed in to change notification settings - Fork 12
/
eManometer.sql
73 lines (61 loc) · 1.92 KB
/
eManometer.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Erstellungszeit: 04. Mai 2020 um 18:33
-- Server-Version: 10.4.10-MariaDB-log
-- PHP-Version: 7.3.13
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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 */;
--
-- Datenbank: `iSpindel`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `iGauge`
--
CREATE TABLE `iGauge` (
`Index_` bigint(20) NOT NULL,
`Timestamp` datetime NOT NULL DEFAULT current_timestamp(),
`Name` varchar(64) COLLATE ascii_bin NOT NULL,
`ID` int(11) NOT NULL,
`Pressure` double NOT NULL,
`Temperature` double NOT NULL,
`Change_value` double DEFAULT NULL,
`ResetFlag` tinyint(1) DEFAULT NULL,
`First_value` tinyint(1) NOT NULL DEFAULT 0,
`Carbondioxid` double NOT NULL DEFAULT 0,
`UserToken` varchar(64) COLLATE ascii_bin DEFAULT NULL,
`Interval` int(11) DEFAULT NULL,
`RSSI` int(11) DEFAULT NULL,
`Recipe` varchar(64) COLLATE ascii_bin DEFAULT 'Muenchner Dunkel',
`Aktuell` int(1) DEFAULT 1
) ENGINE=MyISAM DEFAULT CHARSET=ascii COLLATE=ascii_bin COMMENT='iSpindle Data';
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `iGauge`
--
ALTER TABLE `iGauge`
ADD PRIMARY KEY (`Index_`) USING BTREE,
ADD UNIQUE KEY `Index_` (`Index_`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `iGauge`
--
ALTER TABLE `iGauge`
MODIFY `Index_` bigint(20) NOT NULL AUTO_INCREMENT;
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 */;