Comment
: missing mapped type
This commit is contained in:
parent
71f1174b93
commit
0bf5c566d3
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ class Comment(CreatedBase):
|
|||
edited_utc: Mapped[int] = mapped_column(Integer, default=0, nullable=False)
|
||||
ghost: Mapped[bool] = mapped_column(Boolean, default=False, nullable=False)
|
||||
bannedfor: Mapped[bool | None] = mapped_column(Boolean)
|
||||
distinguish_level = mapped_column(Integer, default=0, nullable=False)
|
||||
level = mapped_column(Integer, default=1, nullable=False)
|
||||
distinguish_level: Mapped[int] = mapped_column(Integer, default=0, nullable=False)
|
||||
level: Mapped[int] = mapped_column(Integer, default=1, nullable=False)
|
||||
parent_comment_id: Mapped[int | None] = mapped_column(Integer, ForeignKey("comments.id"))
|
||||
top_comment_id: Mapped[int | None] = mapped_column(Integer)
|
||||
over_18: Mapped[bool] = mapped_column(Boolean, default=False, nullable=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue