drop id of trade action

This commit is contained in:
Cayo Puigdefabregas 2021-06-11 12:27:14 +02:00
parent 2cfb126c6c
commit b12d54d6f1
1 changed files with 1 additions and 1 deletions

View File

@ -1486,7 +1486,7 @@ 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)
# 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)