1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
Joost De Cock
37d6959cb2 chore(backend): Remove (c)set from patterns, img from users
This removes some fields from the database and the logic for handling
them. Specifically:

- Do not keep a set or cset reference for patterns. Doing so will only
  raise expectations for users as a link between (c)set and pattern
  might signal that changes to the (c)set would somehow also update the
  pattern. Once a pattern is saved, it is what it is, so no point
  keeping a link to the (c)set. We may want to look at how to add a note
  about which (c)set the pattern was generated for, but I don't think
  that's crucial.
- Do not keep an img field in the user account, cset, or open pack,
  since they have a deterministic image ID anyway.

This also adds and info field to cset and option pack which is an
internal field allowing us to keep (non-public) notes about where the
record comes from. This will be important when we add a new mesurement
and we have to contqct all these people for that extra measurement (for
example).
2023-10-17 17:41:28 +02:00
joostdecock
28ce3d78e4 chore(backend): Udpate tests for recent changes 2023-09-04 17:59:15 +02:00
joostdecock
b05e1e20cf feat(backend): Refactor and optimize 2023-08-13 09:39:05 +02:00
joostdecock
e691253d51 feat(backend): No more people, sets instead 2023-02-26 16:04:12 +01:00
Joost De Cock
cbe95701c5 wip(backend): PATCH not PUT 2022-12-23 15:12:24 +01:00
Joost De Cock
37a0149668 wip(backend): Fixed tests 2022-12-23 14:43:04 +01:00
joostdecock
6138a24f97 wip(backend): Tweaks to schema 2022-11-19 18:11:28 +01:00
Joost De Cock
b9bb96d837 wip(backend): More work on backend/tests 2022-11-16 15:08:05 +01:00