Commit Graph

13 Commits

Author SHA1 Message Date
Matheus Toledo 99eb0a0651 🎨refactor: move modules and refactor import statements 2025-06-16 12:43:39 -03:00
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 f556d6906a Added the foreign key in photo.py to the travel_diary table so a photo is contained in a diary 2025-06-05 20:02:41 -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
Gustavo Henrique Santos Souza de Miranda ac29e84833 Changed the names of the files to conform the python convection and also added photo_in_entry.py to diminish the cyclic import error in pylint 2025-06-04 00:13:18 -03:00
Gustavo Henrique Santos Souza de Miranda 4814712039 Added a Back Relationship in Entry to list all the photos 2025-06-03 23:28:27 -03:00
Gustavo Henrique Santos Souza de Miranda 983489d57f Added one more model: Photo.py and edited the Entry.py to add the Many-to-Many relationship to the Photo.py Model 2025-06-03 21:54:13 -03:00
Gustavo Henrique Santos Souza de Miranda 385cdffead Added the Entry.py as the Entry model 2025-06-03 20:23:44 -03:00
Meleneth ada761bf9a Rearrange project layout and the database started working in there somewhere 2025-06-03 16:05:51 -07:00
Gustavo Henrique Santos Souza de Miranda d0278f8650 Added Few Classes to the application to be used on the Database 2025-06-03 18:55:58 -03:00