Download ai-bot/database/models.py from djaydenvanhattem3/Atlas77: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/djaydenvanhattem3/Atlas77/resolve/main/ai-bot/database/models.py
- Command line
-
hf download hf://djaydenvanhattem3/Atlas77/ai-bot/database/models.py
-
curl -L -o models.py https://huggingface.co/djaydenvanhattem3/Atlas77/resolve/main/ai-bot/database/models.py
287 Bytes
| from sqlalchemy import Column, Integer, String | |
| from database.models import Base | |
| class UserDB(Base): | |
| __tablename__ = "users" | |
| id = Column(Integer, primary_key=True) | |
| username = Column(String, unique=True) | |
| password = Column(String) | |
| role = Column(String, default="user") |