schema.sql

This commit is contained in:
Wolfgang Hottgenroth
2017-11-24 18:24:40 +01:00
parent 465fdd46bf
commit 3513e6addb

17
schema.sql Normal file
View File

@ -0,0 +1,17 @@
create table ElectricEnergy (
id int(10) unsigned not null auto_increment,
name varchar(64) not null,
ts timestamp not null,
energy int(10) unsigned not null,
power int(10) unsigned not null,
primary key (id)
) engine=InnoDB;
create table Temperature (
id int(10) unsigned not null auto_increment,
name varchar(64) not null,
ts timestamp not null,
temperature double not null,
primary key (id)
) engine=InnoDB;