drop id of trade action
This commit is contained in:
parent
2cfb126c6c
commit
b12d54d6f1
|
@ -1486,7 +1486,7 @@ 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)
|
# 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