diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index cc3cc3fc..7f542c6a 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -1436,8 +1436,8 @@ class CancelReservation(Organize): class TradeNote(JoinedTableMixin, ActionWithMultipleDevices): """Note add to one trade""" trade_id = db.Column(UUID(as_uuid=True), - db.ForeignKey('trade.id'), - nullable=False) + db.ForeignKey('trade.id'), + nullable=False) trade = db.relationship('Trade', backref=backref('notes', uselist=True,