ehharvey / lms-2024

3 stars 2 forks source link

tags #235

Open ehharvey opened 1 week ago

ehharvey commented 1 week ago

Let's implement a tag system!

In LMS, we should let anything and everything get a tag.

Design Details

  1. Schema update!! New model for tags that contain a string name and a link to one other item
  2. Schema update to perform a bidirectional link. Remember that in EF Core, many-to-many joins are handled magically for us, so we don't need to worry too much about making join tables
  3. We should have normal CRUD on tags. If a tag gets deleted, however, any item with that tag simply gets updated