Files
TJWaterServer/script/sql/create/19.reactions.sql
2022-11-11 21:13:39 +08:00

26 lines
469 B
SQL

-- [REACTIONS]
create table reactions_global
(
key text not null
, value numeric not null
);
create table reactions_pipe_bulk
(
pipe varchar(32) primary key references pipes(id) not null
, value numeric not null
);
create table reactions_pipe_wall
(
pipe varchar(32) primary key references pipes(id) not null
, value numeric not null
);
create table reactions_tank
(
tank varchar(32) primary key references tanks(id) not null
, value numeric not null
);