/** * Account Data Model for storing in Mongo */ import mongoose from 'mongoose'; const { Schema } = mongoose; const ajixReportSchema = new Schema( { reportID: { type: String, required: true, maxlength: 20, index: true, }, ipfsHash: { type: String, required: true, maxlength: 64 }, helixTxHash: { type: String, required: true, maxlength: 64 }, }, ); const model:any = mongoose.model('labReports', ajixReportSchema); export default model;