@ -1,6 +1,6 @@
const { Schema, model } = require('mongoose')
const streams = new Schema({
const brackets = new Schema({
name: {
type: String,
required: true,
@ -15,6 +15,6 @@ const streams = new Schema({
}],
})
const Stream = model('Streams', streams)
const Bracket = model('Brackets', brackets)
module.exports = Stream
module.exports = Bracket