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
+2 -2
View File
@@ -4,5 +4,5 @@ from ..database import Base
photo_entry_association = Table('photo_entry_association', Base.metadata,
Column('id', Integer, primary_key=True, autoincrement=True),
Column('fk_Photo_id', Integer, ForeignKey('photo.id')),
Column('fk_Entry_id', Integer, ForeignKey('Entry.id')))
Column('fk_photo_id', Integer, ForeignKey('photos.id')),
Column('fk_entry_id', Integer, ForeignKey('entries.id')))