Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /JeanExtreme002_Dokku-API /src /api /models /shared_app.py
| from sqlalchemy import Column, DateTime, ForeignKey, String, func | |
| from sqlalchemy.orm import relationship | |
| from src.api.models.base import Base | |
| class SharedApp(Base): | |
| __tablename__ = "shared_app" | |
| app_name = Column(String(255), ForeignKey("app.name"), primary_key=True) | |
| user_email = Column(String(100), ForeignKey("user.email"), primary_key=True) | |
| pretty_app_name = Column(String(255), nullable=False) | |
| author_email = Column(String(100), nullable=False) | |
| shared_at = Column( | |
| DateTime(timezone=True), server_default=func.now(), nullable=False | |
| ) | |
| app = relationship("App", back_populates="shared_users") | |
| user = relationship("User", back_populates="shared_apps") | |
Xet Storage Details
- Size:
- 704 Bytes
- Xet hash:
- 9665e5cd1aee63d95a8c8e32e8467780d0ee6d488458ce5d9c398285c48913f1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.