Skip to content

Commit

Permalink
#48 add table ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcellino-Palerme committed Sep 4, 2024
1 parent e17e084 commit af805a5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions db/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,17 @@ CREATE TABLE proj_calib_curves
PRIMARY KEY (id_project, id_calib_curves)
);

-- Ratio table is used to store coefficient and order to calculate concentration
-- of metabolites from the area
CREATE TABLE ratio
(
id_mol VARCHAR(52),
id_project SERIAL REFERENCES project (id) ON DELETE CASCADE,
coef FLOAT,
ord FLOAT,
PRIMARY KEY (id_mol, id_project)
);

INSERT INTO users (name, email, hash, team)
VALUES
('root_ep2m2', '[email protected]',
Expand Down

0 comments on commit af805a5

Please sign in to comment.