Skip to content

Commit

Permalink
feat: init picture column
Browse files Browse the repository at this point in the history
  • Loading branch information
i007c committed Jun 5, 2023
1 parent 0f4bce0 commit e9f2f15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bchat/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class UserTable(BaseTable):
saved_list = Column(JSON, server_default='{}')
total_score = Column(Integer, server_default=text('0'))
used_score = Column(Integer, server_default=text('0'))
picture = Column(String)


class Genders(int, Enum):
Expand All @@ -33,6 +34,7 @@ class UserModel(BaseModel):
gender: Genders
name: str
age: int
picture: str = None
direct_msg_id: int = None
block_list: dict = {}
saved_list: dict = {}
Expand Down

0 comments on commit e9f2f15

Please sign in to comment.