Refine reactions table

This commit is contained in:
WQY\qiong
2022-11-14 20:08:15 +08:00
parent dff73445c5
commit 8e85928827
2 changed files with 13 additions and 11 deletions

View File

@@ -1,18 +1,20 @@
-- [REACTIONS]
create table reactions_global
create table reactions
(
_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
key text primary key
, value text not null
);
insert into reactions_global values (0, null, null, null, null, null, null, null);
insert into reactions (key, value) values
('ORDER BULK', '1')
, ('ORDER WALL', '1')
, ('ORDER TANK', '1')
, ('GLOBAL BULK', '0')
, ('GLOBAL WALL', '0')
, ('LIMITING POTENTIAL', '0')
, ('ROUGHNESS CORRELATION', '0')
;
create table reactions_pipe_bulk
(