parser/internal/migrations/files/0001.sql

31 lines
1.0 KiB
MySQL
Raw Normal View History

2018-05-07 14:07:37 +02:00
CREATE TABLE measurement (
time timestamptz NOT NULL,
c_gem_1 DOUBLE PRECISION NOT NULL,
c_gem_2 DOUBLE PRECISION NOT NULL,
c_gem_3 DOUBLE PRECISION NOT NULL,
ep_1 DOUBLE PRECISION NOT NULL,
ep_2 DOUBLE PRECISION NOT NULL,
ep_3 DOUBLE PRECISION NOT NULL,
i_gem_1 DOUBLE PRECISION NOT NULL,
i_gem_2 DOUBLE PRECISION NOT NULL,
i_gem_3 DOUBLE PRECISION NOT NULL,
i_max_1 DOUBLE PRECISION NOT NULL,
i_max_2 DOUBLE PRECISION NOT NULL,
i_max_3 DOUBLE PRECISION NOT NULL,
p_gem_1 DOUBLE PRECISION NOT NULL,
p_gem_2 DOUBLE PRECISION NOT NULL,
p_gem_3 DOUBLE PRECISION NOT NULL,
p_max_1 DOUBLE PRECISION NOT NULL,
p_max_2 DOUBLE PRECISION NOT NULL,
p_max_3 DOUBLE PRECISION NOT NULL,
s_gem_1 DOUBLE PRECISION NOT NULL,
s_gem_2 DOUBLE PRECISION NOT NULL,
s_gem_3 DOUBLE PRECISION NOT NULL,
s_max_1 DOUBLE PRECISION NOT NULL,
s_max_2 DOUBLE PRECISION NOT NULL,
s_max_3 DOUBLE PRECISION NOT NULL,
u_gem_1 DOUBLE PRECISION NOT NULL,
u_gem_2 DOUBLE PRECISION NOT NULL,
u_gem_3 DOUBLE PRECISION NOT NULL
);