Limit the information stored in the database #118

Closed
opened 2024-01-28 21:53:33 +01:00 by wojtek · 1 comment
Owner

Do not store information in the database if that information does not make sense to keep if it were to be removed from the library.

For now this includes:

  • albums
  • tracks

Although once album tracking is added, then we will want to save albums to the database.

As a rule of thumb, if removing an item from the library would result in the database containing the information it would otherwise not be able to obtain (e.g., by direct edits with musichoard-edit) then it should not be saved.

Do not store information in the database if that information does not make sense to keep if it were to be removed from the library. For now this includes: - albums - tracks Although once album tracking is added, then we will want to save albums to the database. As a rule of thumb, if removing an item from the library would result in the database containing the information it would otherwise not be able to obtain (e.g., by direct edits with `musichoard-edit`) then it should not be saved.
wojtek added the
enhancement
label 2024-01-28 21:53:33 +01:00
Author
Owner

Should be trivial to implement with https://serde.rs/field-attrs.html#skip

Should be trivial to implement with https://serde.rs/field-attrs.html#skip
wojtek added a new dependency 2024-02-04 22:17:55 +01:00
wojtek added this to the v0.2.0 milestone 2024-02-10 09:32:13 +01:00
wojtek removed a dependency 2024-02-10 09:32:26 +01:00
wojtek added a new dependency 2024-02-10 10:44:23 +01:00
wojtek removed a dependency 2024-02-10 10:44:29 +01:00
wojtek added a new dependency 2024-02-10 10:44:37 +01:00
wojtek removed this from the v0.2.0 milestone 2024-02-10 10:44:40 +01:00
wojtek removed a dependency 2024-02-10 10:45:11 +01:00
wojtek added this to the v0.2.0 milestone 2024-02-10 10:45:13 +01:00
wojtek added reference 118---limit-the-information-stored-in-the-database 2024-02-10 17:46:06 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wojtek/musichoard#118
No description provided.