Added !notifications
This commit is contained in:
parent
e260ebc135
commit
c093e4bf64
4 changed files with 128 additions and 13 deletions
11
models/Preferences.js
Normal file
11
models/Preferences.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
module.exports = mongoose => {
|
||||
const schema = new mongoose.Schema({
|
||||
user: String,
|
||||
notification: Boolean,
|
||||
radio: String
|
||||
})
|
||||
|
||||
const Preferences = mongoose.model('Preferences', schema)
|
||||
|
||||
return Preferences
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue