video.js 295 Bytes
const mongoose = require('mongoose')
mongoose.set('useCreateIndex', true)

const postSchema = new mongoose.Schema({
  tag: [],
  videoUrl: { type: String, default: '',},
  title: { type: String, default: '' },
})

const Post = mongoose.model('post', postSchema)

module.exports = Post