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

11 lines
285 B
JavaScript

import mongoose, { Schema } from "mongoose";
const Artist = new Schema({
name: {type: String, requeired: true},
soundcloud: {type: String},
facebook: {type: String},
spotify: {type: String},
date: {type: Date},
});
export default mongoose.model('Artist', Artist);