This commit is contained in:
@@ -36,7 +36,7 @@ class Author(Base):
|
||||
|
||||
# Базовые поля автора
|
||||
id: Mapped[int] = mapped_column(Integer, primary_key=True)
|
||||
name: Mapped[str | None] = mapped_column(String, nullable=True, comment="Display name")
|
||||
name: Mapped[str] = mapped_column(String, nullable=False, comment="Display name")
|
||||
slug: Mapped[str] = mapped_column(String, unique=True, comment="Author's slug")
|
||||
bio: Mapped[str | None] = mapped_column(String, nullable=True, comment="Bio") # короткое описание
|
||||
about: Mapped[str | None] = mapped_column(
|
||||
|
||||
Reference in New Issue
Block a user