diff data/models.R @ 14:00079fadc240 draft

" master branch Updating"
author lain
date Tue, 01 Jun 2021 09:47:15 +0000
parents a174cbbb12dd
children d8112d636210
line wrap: on
line diff
--- a/data/models.R	Wed Apr 07 13:28:09 2021 +0000
+++ b/data/models.R	Tue Jun 01 09:47:15 2021 +0000
@@ -34,13 +34,13 @@
             score="FLOAT",
             deviation="FLOAT",
             status="TEXT",
-            adduct="TEXT",
+            # adduct="TEXT",
             curent_group="INTEGER",
             pc_group="INTEGER",
             align_group="INTEGER",
             xcms_group="INTEGER"
         ),
-        one=list("sample", "compound")
+        one=list("compound", "adduct", "sample")
     ),
     compound=DBModelR::ModelDefinition(
         table="compound",
@@ -69,7 +69,8 @@
             iso="TEXT",
             abundance="FLOAT"
         ),
-        one=list("cluster")
+        one=list("cluster"),
+        many=list("sample")
     ),
     instrument=DBModelR::ModelDefinition(
         table="instrument",