diff --git a/Project/models/Activity.model.js b/Project/models/Activity.model.js new file mode 100644 index 0000000..07f0042 --- /dev/null +++ b/Project/models/Activity.model.js @@ -0,0 +1,28 @@ +const { Schema, model } = require("mongoose"); + +const actSchema = new Schema( + { + name: { + type: String, + }, + description: { + type: String, + }, + // type: { + // type: [String], + // }, + // location: { + // type: Location, + // }, + // dates: { + // type: Date, + // } + }, + { + timestamps: true, + } +); + +const Activity = model("Activity", actSchema); + +module.exports = Activity; \ No newline at end of file