Closed SarahKurek closed 3 years ago
This is the updated ER-diagram for the data storage.
I have some questions concerning the storage:
In my opinion it is better to store the images and files in the database because you have no problems with changing file paths. The resulting additional SQL queries are practically no more effort.
I checked out other projects. These store images and files in the database to avoid emerging problems of a hard coded path. So I reworked the database structure again. In addition, I have named the columns consistently and added a table for the note_type as a look-up-table. Below is the updated ER diagram.
To Do: Either link table between "book" and "note" or "book_id" in table "note" instead of "note_id" in table "book"
Updated ER diagram