Skip to content
Snippets Groups Projects
Commit 3cc6aa1d authored by Martin Mareš's avatar Martin Mareš
Browse files

fixup! DB: Soubor s diplomy si pamatuje, zda je schválen

parent 5bc04c23
No related branches found
No related tags found
No related merge requests found
......@@ -1167,7 +1167,8 @@ class Certificate(Base):
cert_set = relationship('CertSet')
cert_file = relationship('CertFile',
primaryjoin='and_(CertFile.cert_set_id == Certificate.cert_set_id, CertFile.type == Certificate.type)',
foreign_keys='[Certificate.cert_set_id, Certificate.type]')
foreign_keys='[Certificate.cert_set_id, Certificate.type]',
viewonly=True)
user = relationship('User')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment