Update ProofTransfer
This commit is contained in:
parent
390fb30d4f
commit
f6af58ef51
|
@ -88,7 +88,7 @@ class ProofDevice(db.Model):
|
|||
|
||||
|
||||
class ProofTransfer(JoinedTableMixin, Proof):
|
||||
transfer_id = Column(UUID, ForeignKey(Trade.id), nullable=False)
|
||||
transfer_id = Column(UUID(as_uuid=True), ForeignKey(Trade.id), nullable=False)
|
||||
transfer = relationship(DisposeProduct,
|
||||
backref=backref("proof_transfer",
|
||||
lazy=True,
|
||||
|
|
|
@ -32,6 +32,7 @@ class ProofTransfer(Proof):
|
|||
__doc__ = m.ProofTransfer.__doc__
|
||||
transfer = NestedOn(s_action.DisposeProduct,
|
||||
required=True,
|
||||
data_key='transferID',
|
||||
only_query='id')
|
||||
|
||||
|
||||
|
|
Reference in a new issue