Task #10693 (new)
Opened 11 years ago
Last modified 8 years ago
Refactor OriginalFile for repositories and directories
Reported by: | mtbcarroll | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | Metadata |
Component: | OmeroFs | Version: | n.a. |
Keywords: | n.a. | Cc: | fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
At the moment, in the originalfile table in the database if mimetype = 'Repository' then hash is not null and hasher is null and if mimetype = Directory then hash is null and hasher is null.
This is all a bit strange and ugly. Perhaps the data representation could be improved, with the help of a Hibernate discriminator column.
Change History (1)
comment:1 Changed 8 years ago by jamoore
- Milestone changed from 5.x to Metadata
- Sprint FS demo 4.x deleted