Skip to content

Commit

Permalink
Capture all possible value types #23
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn authored and jacobtylerwalls committed Sep 12, 2024
1 parent 0b9e16a commit 134ed2e
Showing 1 changed file with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,17 +238,9 @@ class Migration(migrations.Migration):
v.valuetype
from alpha_sorted_list_item_hierarchy lih
join values v on v.conceptid = lih.id
where valuetype = 'prefLabel'
or valuetype = 'altLabel'
or valuetype = 'hiddenLabel'
or valuetype = 'scopeNote'
or valuetype = 'definition'
or valuetype = 'example'
or valuetype = 'historyNote'
or valuetype = 'editorialNote'
or valuetype = 'changeNote'
or valuetype = 'note'
or valuetype = 'description';
where valuetype in (
select valuetype from d_value_types where category in ('note', 'label')
);
end loop;
-- Assign row number to help identify concepts that participate in multiple collections
Expand Down

0 comments on commit 134ed2e

Please sign in to comment.