From 94d4b57be9b4c88d507253c72599026dfd59400c Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 9 Jun 2021 12:02:31 +0200 Subject: [PATCH] fixing id of trading --- ereuse_devicehub/resources/action/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index f8f98d5e..2fc8a803 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -1486,7 +1486,6 @@ class Trade(JoinedTableMixin, ActionWithMultipleDevices): This class and its inheritors extend `Schema's Trade `_. """ - 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)