mirror of
https://github.com/gmbrax/Pilgrim.git
synced 2026-11-10 02:30:18 +00:00
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:
parent
7e29a590a2
commit
32b8a58c3a
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user