fixing id of trading

This commit is contained in:
Cayo Puigdefabregas 2021-06-09 12:02:31 +02:00
parent 9d89d4fe4a
commit 94d4b57be9

View file

@ -1486,7 +1486,6 @@ class Trade(JoinedTableMixin, ActionWithMultipleDevices):
This class and its inheritors
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),
db.ForeignKey(User.id),
nullable=False)