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)

get_taxonomy_genus_20230316_DEV.dataviewxml​ (44.4 KB ) - added by Benjamin Haag 4 years ago.
Export of Get Taxonomy Genus dataview from dev.
Trac_1484.sql​ (2.0 KB ) - added by Benjamin Haag 4 years ago.
Adds new code values.
Trac_1484.xlsx​ (10.4 KB ) - added by Benjamin Haag 4 years ago.
Codes and metadata to be added (per Melanie)

Download all attachments as: .zip

Change History (8)

comment:1 by Pete Cyr, 9 years ago

Owner: changed from Pete Cyr to dbmuqs
Status: new → assigned

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

comment:2 by Melanie Schori, 4 years ago

Owner: changed from dbmuqs to Benjamin Haag

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 Benjamin Haag, 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 Benjamin Haag, 4 years ago

Export of Get Taxonomy Genus dataview from dev.

comment:4 by Benjamin Haag, 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.

by Benjamin Haag, 4 years ago

Attachment: Trac_1484.sql​ added

Adds new code values.

by Benjamin Haag, 4 years ago

Attachment: Trac_1484.xlsx​ added

Codes and metadata to be added (per Melanie)

comment:5 by Benjamin Haag, 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.

Note: See TracTickets for help on using tickets.