Spaces:
Sleeping
Sleeping
| from sqlalchemy import Column, Integer, String, Boolean | |
| from app.database import Base | |
| class Item(Base): | |
| __tablename__ = "items" | |
| id = Column(Integer, primary_key=True, index=True) | |
| title = Column(String, index=True) | |
| description = Column(String) | |
| completed = Column(Boolean, default=False) |