create offer stitched with backend

This commit is contained in:
counterweight 2025-02-26 00:48:16 +01:00
parent 4eef0a57e0
commit b430b42b60
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
5 changed files with 37 additions and 14 deletions

View file

@ -19,11 +19,11 @@ const OfferDetailsSet = sequelize.define(
allowNull: false,
},
premium: {
type: DataTypes.NUMBER,
type: DataTypes.DECIMAL(5, 2),
allowNull: false,
},
trade_amount_eur: {
type: DataTypes.NUMBER,
type: DataTypes.INTEGER,
allowNull: false,
},
location_details: {