Open mgrbyte opened 7 years ago
Requires re-working the construct used in the annotated models not to use ENUM if the data captured in #Evidence
needs to be maintained, or otherwise solved by re-modelling.
Updates on this:
https://github.com/WormBase/website/issues/5687 https://github.com/WormBase/wormbase-pipeline/issues/61#issuecomment-308744523
Headline: only some usage of ENUM
are effected; those where the enumerated value is followed with both a reference and a hash.
When a
ENUM
tag in the annotated ACeDB models is marked with a hash-model (e.g#Evidence
), the data is not migrated since theENUM
will result in anident
, which is not a referenable construct (in it's own right) in datomic (i.e it is a:db.type/keyword
not a:db.type/ref
) The example cited that @a8wright ran into recently was:molecule.biofunction-role/value
, whose annotated source is here,The result (datomic entity api usage shown below in a clojure REPL session):