File tree Expand file tree Collapse file tree
backend/python/pydevlake/pydevlake/domain_layer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class PullRequest(DomainModel, table=True):
5050class PullRequestLabels (NoPKModel , table = True ):
5151 __tablename__ = 'pull_request_labels'
5252 pull_request_id : str = Field (primary_key = True )
53- label_name : str
53+ label_name : str = Field ( primary_key = True )
5454
5555
5656class PullRequestCommit (NoPKModel , table = True ):
@@ -94,7 +94,7 @@ class Commit(NoPKModel, table=True):
9494class CommitParent (NoPKModel , table = True ):
9595 __tablename__ = 'commit_parents'
9696 commit_sha : str = Field (primary_key = True )
97- parent_commit_sha : str
97+ parent_commit_sha : str = Field ( primary_key = True )
9898
9999
100100class CommitsDiff (DomainModel , table = True ):
@@ -112,6 +112,7 @@ class RefCommit(NoPKModel, table=True):
112112 new_commit_sha : str
113113 old_commit_sha : str
114114
115+
115116class Component (NoPKModel , table = True ):
116117 __tablename__ = 'components'
117118 repo_id : str
You can’t perform that action at this time.
0 commit comments