This repository has been archived on 2026-05-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
chatless/backend/service-privateroom/models/Conversation.js
2021-05-30 20:55:00 +02:00

12 lines
No EOL
250 B
JavaScript

const mongoose = require("mongoose")
const ConversationSchema = new mongoose.Schema(
{
members: {
type: Array
},
},
{ timestamps: true }
);
module.exports = mongoose.model("Conversation", ConversationSchema);