Skip to content

Commit 083e8da

Browse files
committed
#27 Removed duplicate attribute for Item schema
1 parent 575731a commit 083e8da

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/backend_api/app/core/models/models.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ class Item(_ItemBase, Base):
8585
# For hypertable specs, see alembic revision `cc29b89156db'
8686
__tablename__ = "item"
8787

88-
itemId: Mapped[int] = mapped_column(
89-
BigInteger,
90-
Identity(start=1, increment=1),
91-
primary_key=True, # Primary key constraint gets removed on hypertable creation
92-
)
9388
prefixes: Mapped[int | None] = mapped_column(SmallInteger)
9489
suffixes: Mapped[int | None] = mapped_column(SmallInteger)
9590
foilVariation: Mapped[int | None] = mapped_column(SmallInteger)

0 commit comments

Comments
 (0)