fix(offer): Adding new properties to offer db model

This commit is contained in:
Chris Troutner
2025-10-04 09:40:07 -07:00
parent 6c1da41cb3
commit 88cfadbc17
+8 -1
View File
@@ -39,7 +39,14 @@ const Offer = new mongoose.Schema({
// Operator fee and address
operatorAddress: { type: String },
operatorPercentage: { type: Number }
operatorPercentage: { type: Number },
// Token Data
immutableDataCid: { type: String, default: null },
mutableDataCid: { type: String, default: null },
tokenIconUrl: { type: String, default: null },
tokenCategories: { type: Array, default: [] },
tokenTags: { type: Array, default: [] }
})
export default mongoose.model('offer', Offer)