Spaces:
Sleeping
Sleeping
Download app/models/user.py from codersHub12/rag: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/spaces/codersHub12/rag/resolve/main/app/models/user.py
- Command line
-
hf download hf://spaces/codersHub12/rag/app/models/user.py
-
curl -L -o user.py https://huggingface.co/spaces/codersHub12/rag/resolve/main/app/models/user.py
287 Bytes
| from sqlalchemy import Column, Integer, String | |
| from app.database import Base | |
| class User(Base): | |
| __tablename__ = "users" | |
| id = Column(Integer, primary_key=True, index=True) | |
| username = Column(String, unique=True, index=True) | |
| email = Column(String, unique=True, index=True) | |