-- [REACTIONS] create table reactions_global ( _no integer primary key , order_bulk numeric , order_wall numeric , order_tank numeric , global_bulk numeric , global_wall numeric , limiting_potential numeric , roughness_correlation numeric ); insert into reactions_global values (0, null, null, null, null, null, null, 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 );