TransHub_backend / models /RefinityTask.js
linguabot's picture
Upload folder using huggingface_hub
7700f98 verified
raw
history blame contribute delete
327 Bytes
const mongoose = require('mongoose');
const RefinityTaskSchema = new mongoose.Schema({
title: { type: String, required: true },
sourceText: { type: String, required: true },
createdBy: { type: String }, // name or email
}, { timestamps: true });
module.exports = mongoose.model('RefinityTask', RefinityTaskSchema);