Opened 4 years ago
Last modified 4 years ago
#2802 accepted enhancement
Create Economic Usage Type Table — at Version 1
| Reported by: | Benjamin Haag | Owned by: | Benjamin Haag |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Database, Schema Changes | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | melanie.schori@…, karen.kittell@… | Database Engine: | N/A |
| Operating System: | N/A |
Description (last modified by )
Move existing economic usage codes and types into a separate table:
1) Create new table taxonomy_usage_type.
2) Migrate data.
3) Replace existing code and type columns in taxonomy_use with FK reference to new table.
4) Modify the following dataviews, such that they link to the new table:
4.1) get_taxonomy_use
4.2) web_lookup_taxon_use_class
4.3) web_lookup_taxon_use_class_2
4.4) web_lookup_taxon_use_subclass
4.5) web_lookup_taxon_use_subclass_2
5) Coordinate any needed PW changes with Kay Kittel related to the World Economic Plants page (and any other components that use econ. use data).
Change History (2)
comment:1 by , 4 years ago
| Description: | modified (diff) |
|---|---|
| Status: | assigned → accepted |
by , 4 years ago
| Attachment: | Trac_2802.sql added |
|---|

SQL used to create new table, alter existing table, and insert and update data.