Add Request.internal_comments
Using a one to one relationship to avoid the migration hell that we're temporarily stuck in.
This commit is contained in:
@@ -46,6 +46,8 @@ class Request(Base):
|
||||
"RequestRevision", back_populates="request", order_by="RequestRevision.sequence"
|
||||
)
|
||||
|
||||
internal_comments = relationship("RequestInternalComment", uselist=False)
|
||||
|
||||
@property
|
||||
def latest_revision(self):
|
||||
if self.revisions:
|
||||
|
Reference in New Issue
Block a user