schema.sql
This commit is contained in:
17
schema.sql
Normal file
17
schema.sql
Normal 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;
|
||||||
|
|
Reference in New Issue
Block a user