Made some changes to naming in both the classes and the tables of the database to conform the correct naming scheme

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2025-06-05 19:59:43 -03:00
parent 7e29a590a2
commit 32b8a58c3a
9 changed files with 38 additions and 28 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from sqlalchemy import Column, String, Integer
from ..database import Base
class TravelDiary(Base):
__tablename__ = "TravelDiary"
__tablename__ = "travel_diaries"
id = Column(Integer, primary_key=True)
name = Column(String)