Altered the Cardinality of the foreign keys to be non-nullable

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2025-06-05 22:01:54 -03:00
parent be1bce9261
commit 103b9a9da1
5 changed files with 21 additions and 10 deletions
-2
View File
@@ -16,8 +16,6 @@ class EntryService:
self.session.add(new_entry)
self.session.commit()
self.session.refresh(new_entry)
return new_entry
def read_by_id(self,entry_id:int)->Entry: