front-end almost done | started back-end
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const BroadcastSchema = mongoose.Schema({
|
||||
title: String,
|
||||
message: String,
|
||||
read: Array,
|
||||
locale: String,
|
||||
admin_id: String,
|
||||
created_at: String
|
||||
})
|
||||
|
||||
|
||||
module.exports = mongoose.model('Broadcast', BroadcastSchema)
|
||||
Reference in New Issue
Block a user