MCPcopy Create free account
hub / github.com/diffgram/diffgram / ProjectStar

Class ProjectStar

shared/database/project.py:767–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765
766
767class ProjectStar(Base):
768 """
769
770 """
771
772 __tablename__ = 'project_star'
773
774 id = Column(Integer, primary_key = True)
775 created_time = Column(DateTime, default = datetime.datetime.utcnow)
776
777 user_id = Column(Integer, ForeignKey('userbase.id'))
778 user = relationship("User", foreign_keys = [user_id])
779
780 project_id = Column(Integer, ForeignKey('project.id'))
781 project = relationship("Project", back_populates = "star_list",
782 foreign_keys = project_id)
783
784
785class ProjectValidPermissions(Enum):

Callers 1

star_project_toggleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected