gallery 2 api

This commit is contained in:
Suvodip
2024-12-23 19:17:45 +05:30
parent e520169fb9
commit 5152ca2e23
9 changed files with 2729 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
const mongoose = require("mongoose");
const galleryImageScema = new mongoose.Schema({
gameName: { type: String, required: true },
userId: { type: String, required: true },
gameID: { type: String, required: true },
screenshotUrl: { type: String },
});
module.exports = mongoose.model("GalleryImage", galleryImageScema);