Added Artist/Song library

This commit is contained in:
Damien Broqua 2019-12-24 16:30:45 +01:00
parent 7015fc1671
commit 68f821b933
5 changed files with 134 additions and 6 deletions

View file

@ -1,7 +1,7 @@
module.exports = mongoose => {
const schema = new mongoose.Schema({
user: String,
property: {
type: {
type: String,
enum: ['artist', 'title']
},