fixing id of trading
This commit is contained in:
parent
9d89d4fe4a
commit
94d4b57be9
|
@ -1486,7 +1486,6 @@ class Trade(JoinedTableMixin, ActionWithMultipleDevices):
|
||||||
This class and its inheritors
|
This class and its inheritors
|
||||||
extend `Schema's Trade <http://schema.org/TradeAction>`_.
|
extend `Schema's Trade <http://schema.org/TradeAction>`_.
|
||||||
"""
|
"""
|
||||||
id = Column(UUID(as_uuid=True), primary_key=True, default=uuid4)
|
|
||||||
user_from_id = db.Column(UUID(as_uuid=True),
|
user_from_id = db.Column(UUID(as_uuid=True),
|
||||||
db.ForeignKey(User.id),
|
db.ForeignKey(User.id),
|
||||||
nullable=False)
|
nullable=False)
|
||||||
|
|
Reference in New Issue