Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tags to task #17

Open
Raphtor opened this issue Jan 4, 2022 · 0 comments
Open

Add tags to task #17

Raphtor opened this issue Jan 4, 2022 · 0 comments
Assignees

Comments

@Raphtor
Copy link
Contributor

Raphtor commented Jan 4, 2022

Add searchable tags to task schema. Two ways of doing this:

Relational database

Basically, two new schemas Tags and TagDefinitions would be added. Tags would relate tag ids to task ids. TagDefintions would store the definitions to task ids.

Pros:

  • Easy updating of tag definitions
  • Fastest querying

Cons:

  • Extra database, might get big depending on number of tasks/tags

Add tags key in task schema

Just add an array to the task schema

Pros:

  • Easy updating of tag definitions
  • Fast querying

Cons:

  • Can't update/delete tags very easily
  • Can't see all tags very easily
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant