Opened 16 years ago
Closed 16 years ago
#496 closed enhancement (fixed)
Accession table needs status_code to hand inactive situation
| Reported by: | Mark J. Millard | Owned by: | bweaver |
|---|---|---|---|
| Priority: | major | Milestone: | Final |
| Component: | Database, Data Updates | Version: | 1.0.3897 |
| Severity: | Keywords: | schema | |
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Since site is now determined by the owner of a record in the accession dataview/table, there now needs to be a way of handling those accessions which were previously marked with INACTIVE site. I think the base way to handle this is with a status_code field which would be nullable. The first code would be INACTIVE. If the field is null at this time the status would be assumed to be ACTIVE. Later if an installation wants other accession statuses other codes can be added.
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
This was available by version 2.0.1381 of the database and in the dataview. Works. So I am closing.

I added an "is_active" flag field in release 2.0.1379, but I did not add it to the get_accession dataview. Would a status_code field be more appropriate?