Minor stuff
This commit is contained in:
@@ -7,6 +7,8 @@ from enums import CourseEnum, MinigameEnum, StrEnumType
|
||||
|
||||
|
||||
class User(Base):
|
||||
"""The database model for users"""
|
||||
|
||||
__tablename__ = "users"
|
||||
|
||||
user_id = Column(Integer, primary_key=True, index=True)
|
||||
@@ -23,6 +25,8 @@ class User(Base):
|
||||
|
||||
|
||||
class HighScore(Base):
|
||||
"""The database model for high scores"""
|
||||
|
||||
__tablename__ = "high_scores"
|
||||
|
||||
high_score_id = Column(Integer, primary_key=True, index=True)
|
||||
@@ -33,6 +37,8 @@ class HighScore(Base):
|
||||
|
||||
|
||||
class CourseProgress(Base):
|
||||
"""The database model for course progress"""
|
||||
|
||||
__tablename__ = "course_progress"
|
||||
|
||||
course_progress_id = Column(Integer, primary_key=True, index=True)
|
||||
|
||||
Reference in New Issue
Block a user