Archived
mongodb implementation
This commit is contained in:
1 parent
3e62017db9
commit
90094b9594
5 files changed
+139
-44
No files matched your search
@@ -0,0 +1,11 @@
|
||||
const mongoose = require("mongoose");
|
||||
const schema = mongoose.Schema;
|
||||
|
||||
const eventSchema = new schema({
|
||||
mess: {
|
||||
type: String,
|
||||
required: false,
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = mongoose.model("events", eventSchema);
|
||||
Reference in new issue
Block a user