More Mongoose connections - updated wavesurfer look

This commit is contained in:
Luke Berndt
2024-09-22 21:56:44 -04:00
parent 5817bea3b7
commit 752bb3dfa9
14 changed files with 154 additions and 95 deletions

View File

@@ -1,16 +1,4 @@
var mongoose = require('mongoose');
var talkgroupSchema = mongoose.Schema({
shortName: String,
userId: String,
num: Number,
mode: String,
alpha: String,
description: String,
tag: String,
group: String,
priority: Number
});
const talkgroupSchema = require('./talkgroupSchema');
module.exports = mongoose.model('Talkgroup', talkgroupSchema);