Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tag.model.js 185B

12345678
  1. const mongoose = require('mongoose');
  2. const TagSchema = mongoose.Schema({
  3. name: { type: String, required: true }, //unique
  4. });
  5. module.exports = mongoose.model('Tag', TagSchema);