Skip to content
Snippets Groups Projects

Release 0.2: Notifications & Errors

Merged Martin Lehoux requested to merge release-0.2 into master
7 files
+ 117
30
Compare changes
  • Side-by-side
  • Inline

Files

+ 21
0
const mongoose = require('mongoose');
const Notification = new mongoose.Schema({
title: {
type: String,
required: true,
},
content: {
type: String,
},
persistant: {
type: Boolean,
default: false,
},
color: {
type: String,
default: ""
}
});
module.exports = Notification;
\ No newline at end of file
Loading