gallery 2 api
This commit is contained in:
10
src/models/imageGallery.js
Normal file
10
src/models/imageGallery.js
Normal 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);
|
||||
Reference in New Issue
Block a user