This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Main case is 3373 https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3373
|
||||
|
||||
TODO: TAG-GROUP - bag of tags
|
||||
TAG-GROUP - bag of tags
|
||||
Modify the below and coded and tests and tables to now have feature for tag groups
|
||||
They will be in their own table with a dictionary table of tag ids and tag group id's to link
|
||||
They are used for read purposes, you never tag an item with a tag group, only query by group.
|
||||
@@ -10,6 +10,7 @@ TODO: TAG-GROUP - bag of tags
|
||||
If a tag is deleted it must be removed from any tag groups and if there are no other items in that tag group then the tag group must be deleted as well??
|
||||
- Or maybe is just an empty group with a warning symbol in ui
|
||||
Tag groups will become a major way to save filters for things because a lot of filtering will be by tags so this should be a solid feature.
|
||||
- RETRIEVAL / PICKLISTS: need to modify the tag picklist to optionally return TAGGROUP names as well as identify they are group so UI can feature differently
|
||||
|
||||
FORMAT
|
||||
=-=-=-
|
||||
@@ -24,17 +25,26 @@ tags ...
|
||||
|
||||
SCHEMA
|
||||
=-=-=-
|
||||
Two tables:
|
||||
4 tables:
|
||||
|
||||
TAGS
|
||||
- name text not null lowercase only
|
||||
- id bigserial
|
||||
- OwnerId
|
||||
- Created
|
||||
|
||||
TAGMAP
|
||||
- ObjectId
|
||||
- ObjectType
|
||||
- TagId
|
||||
|
||||
TAGGROUP
|
||||
- name text not null lowercase only
|
||||
- id bigserial
|
||||
- OwnerId
|
||||
|
||||
TAGGROUPMAP
|
||||
- TagGroupId
|
||||
- TagId
|
||||
|
||||
INDEXES
|
||||
- Initial index is on the name of the tag as that will be searched for??
|
||||
|
||||
Reference in New Issue
Block a user