refactor: removed nullable in models

This commit is contained in:
2025-10-11 10:34:05 +04:00
parent bd4f4138be
commit fbb0c72bce
7 changed files with 14 additions and 26 deletions

View File

@ -12,7 +12,7 @@ if TYPE_CHECKING:
class Project(BaseModel, IdMixin, SoftDeleteMixin, CreatedAtMixin):
__tablename__ = "projects"
name: Mapped[str] = mapped_column(nullable=False)
name: Mapped[str] = mapped_column()
boards: Mapped[list["Board"]] = relationship(
back_populates="project",