This commit is contained in:
2025-04-10 12:16:27 +00:00
parent 2103cbe907
commit 52603a5d1a
4 changed files with 80 additions and 0 deletions

10
models.py Normal file
View File

@@ -0,0 +1,10 @@
from sqlalchemy import Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class Item(Base):
__tablename__ = "items"
id = Column(Integer, primary_key=True, index=True)
name = Column(String, index=True)
description = Column(String, nullable=True)