Commit Graph

5 Commits

Author SHA1 Message Date
Gustavo Henrique Santos Souza de Miranda 103b9a9da1 Altered the Cardinality of the foreign keys to be non-nullable 2025-06-05 22:01:54 -03:00
Gustavo Henrique Santos Souza de Miranda be1bce9261 Added the travel_diary id as foreign key to the photos and add a check on the creation to avoid leaving it empty or bad referenced 2025-06-05 21:10:48 -03:00
Gustavo Henrique Santos Souza de Miranda 32b8a58c3a Made some changes to naming in both the classes and the tables of the database to conform the correct naming scheme 2025-06-05 19:59:43 -03:00
Gustavo Henrique Santos Souza de Miranda 7e29a590a2 Added the photo_service.py and modified photo.py to have all the crud operations 2025-06-05 17:35:12 -03:00
Gustavo Henrique Santos Souza de Miranda 8ad57b548f Added the Services layer to the code to do the database operation 2025-06-05 13:28:16 -03:00