pesto-students/batch-11-relayer

View on GitHub
server/models/RelayHistory.js

Summary

Maintainability
A
0 mins
Test Coverage
import mongoose, { Schema } from 'mongoose';

const RelayHistory = new Schema({
  relayId: { type: String },
  status: { type: String },
  message:{ type: String}
}, { timestamps: true });

export default mongoose.model('RelayHistory', RelayHistory);