From b12d54d6f195787a27da3828260bc080edc265c9 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 11 Jun 2021 12:27:14 +0200 Subject: [PATCH] drop id of trade action --- ereuse_devicehub/resources/action/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index f8f98d5e..09b4c979 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -1486,7 +1486,7 @@ class Trade(JoinedTableMixin, ActionWithMultipleDevices): This class and its inheritors extend `Schema's Trade `_. """ - 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)