-- [REACTIONS]

create type reactions_order_param as enum ('bulk', 'wall', 'tank');

create table reactions_order
(
  key reactions_order_param not null
, value numeric not null
);

create type reactions_global_param as enum ('bulk', 'wall');

create table reactions_global
(
  key reactions_global_param not null
, value numeric not null
);

create type reactions_pipe_param as enum ('bulk', 'wall');

create table reactions_pipe
(
  key   reactions_pipe_param not null
, pipe  varchar(32) references pipes(id) not null
, value numeric not null
);

create table reactions_tank
(
  tank  varchar(32) references tanks(id) not null
, value numeric not null
);

create table reactions_limiting_potential
(
  value numeric not null
);

create table reactions_roughness_correlation
(
  value numeric not null
);
