Opened 9 years ago
Last modified 4 years ago
#1484 accepted enhancement
schema change for hybrid display
| Reported by: | Melanie Schori | Owned by: | Benjamin Haag |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Database, Schema Changes | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Carry-over from ticket 1284:
N in hybrid_code column should generate genus_name notho<indicator> division where <indicator> is indicative of the subgenera
Genus nothosubg. Subgenus
Genus nothosect. Section
Genus nothoser. Series
This needs to be changed so that the hybrid_code field in the genus table is renamed as "Generic Hybrid" with NULL, Graft-chimera hybrid, and Intergeneric hybrid as the code values. Fields need to be added for is_subgeneric hybrid (Y/N), is_section hybrid (Y/N), is_series_hybrid (Y/N), is_subseries_hybrid (Y/N), and is_subsection_hybrid (Y/N), where the default value is N and clicking a check box converts it to Y. Currently, this will affect two records, but other display aspects of the CT cannot be implemented without this change.
Attachments (3)
Change History (8)
comment:1 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 4 years ago
| Owner: | changed from to |
|---|
Only part of this ticket is still relevant: Fields need to be added for is_subgeneric hybrid (Y/N), is_section hybrid (Y/N), is_series_hybrid (Y/N), is_subseries_hybrid (Y/N), and is_subsection_hybrid (Y/N), where the default value is N and clicking a check box converts it to Y.
comment:3 by , 4 years ago
| Component: | Curator Tool → Database, Schema Changes |
|---|---|
| Status: | assigned → accepted |
On DEV:
1) Ran attached SQL script to add columns to taxonomy_genus.
2) Added columns to get_taxonomy_genus dataview.
by , 4 years ago
| Attachment: | get_taxonomy_genus_20230316_DEV.dataviewxml added |
|---|
Export of Get Taxonomy Genus dataview from dev.
comment:4 by , 4 years ago
Based on meeting with Melanie on 3/16/23:
Rather than adding columns, we will add code values to the GENUS_HYBRID group -- which is more accurate, given that a given generic record can have one and only one hybrid code designated.
1) Columns added on dev will be removed from the table, and dataview.
2) Spreadsheet containing new codes will be added to this ticket once they are defined.
comment:5 by , 4 years ago
1) Added codes on dev (review) and training (Taxonomy Editor QA).
2) Added SQL used to add codes (see attachment).
3) Attached spreadsheet containing codes and attributes, per Melanie (Schori).
Need to determine logic to generate assembled genus name.

Not sure why this was assigned to me since this is DB schema changes - reassigned to DBA (Quinn)