Skip to content

Commit 54ca043

Browse files
authored
♻️ Remove redundant field in inherited class (#1520)
1 parent 521e6e4 commit 54ca043

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backend/app/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ class ItemUpdate(ItemBase):
7575
# Database model, database table inferred from class name
7676
class Item(ItemBase, table=True):
7777
id: uuid.UUID = Field(default_factory=uuid.uuid4, primary_key=True)
78-
title: str = Field(max_length=255)
7978
owner_id: uuid.UUID = Field(
8079
foreign_key="user.id", nullable=False, ondelete="CASCADE"
8180
)

0 commit comments

Comments
 (0)