This repository has been archived by the owner on Jul 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdump.sql
65 lines (52 loc) · 1.54 KB
/
dump.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
-- phpMyAdmin SQL Dump
-- version 3.3.9.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 20. März 2012 um 21:00
-- Server Version: 5.1.41
-- PHP-Version: 5.3.1
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!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 utf8 */;
--
-- Datenbank: 'solardb'
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle 'parameter'
--
CREATE TABLE IF NOT EXISTS parameter (
feld text NOT NULL,
wert text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle 'solardata'
--
CREATE TABLE IF NOT EXISTS solardata (
`Date` date NOT NULL,
`TimeStamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
AMsAmp float NOT NULL,
AMsVol float NOT NULL,
AMsWatt float NOT NULL,
BMsAmp float NOT NULL,
BMsVol float NOT NULL,
BMsWatt float NOT NULL,
Error tinyint(4) NOT NULL,
ETotal float NOT NULL,
art varchar(4) NOT NULL DEFAULT 'STD',
PRIMARY KEY (`TimeStamp`),
KEY `Date` (`Date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle 'solardata_soll'
--
CREATE TABLE IF NOT EXISTS solardata_soll (
`date` date NOT NULL,
wert float NOT NULL,
PRIMARY KEY (`date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;