Opened 3 years ago
Last modified 22 months ago
#2822 accepted enhancement
Expand the uniqueness constraint in the NC7 site specific dataview
| Reported by: | Lisa Burke | Owned by: | Benjamin Haag |
|---|---|---|---|
| Priority: | medium | Milestone: | ADCOM PRIORITY 2025 |
| Component: | Database, Schema Changes | Version: | N/A |
| Severity: | Keywords: | NC7 site specific Dataview | |
| Cc: | mark.millard@… | Database Engine: | N/A |
| Operating System: | N/A |
Description (last modified by )
It appears that a recent ticket from Mark Millard, which covers the creation of the table nc7_inventory_location_data, addresses this same issue. Is this true>
Change History (4)
comment:1 by , 3 years ago
| Component: | Dataviews → Database, Schema Changes |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:3 by , 3 years ago
Reqirement here is the ability to store one or more physical (storage) locations per inventory lot. The existing site-specific tables are designed to store custom fields per site. For this requirement, recommend a new table inventory_location, linked to inventory.
Specific field needs to be discussed. At minimum (aside from standard PK/FK and audit and note fields):
1) Location name
2) Location type (coded)
2.1) Ex. "GHSE Greenhouse" (if applicable)
comment:4 by , 22 months ago
| Cc: | added |
|---|---|
| Description: | modified (diff) |
| Milestone: | → ADCOM PRIORITY 2025 |
| Status: | assigned → accepted |
1) Recommend creating a table named inventory_storage_location

The site specific inventory tables were designed to have a one to one relationship with the inventory table. In effect they are an extension of the inventory table. Allowing multiple rows per inventory would break that concept. Maybe that wouldn't be the end of the world. Take it up with the database administrator, Benjamin, as it is a schema change, not a dataview change.