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] -- [REACTIONS]
create table reactions_global create table reactions
( (
_no integer primary key key text primary key
, order_bulk numeric , value text not null
, 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); 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 create table reactions_pipe_bulk
( (

View File

@@ -6,4 +6,4 @@ drop table if exists reactions_pipe_wall;
drop table if exists reactions_pipe_bulk; drop table if exists reactions_pipe_bulk;
drop table if exists reactions_global; drop table if exists reactions;