refactor: removed nullable in models
This commit is contained in:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user