added creating rooms in db

This commit is contained in:
Wenszel
2021-03-13 17:53:11 +01:00
parent 99d347a514
commit 12372ef4f2
9 changed files with 81 additions and 17 deletions
+3 -1
View File
@@ -10,4 +10,6 @@ var RoomSchema = new Schema({
positions: Map
});
var RoomModel = mongoose.model('RoomModel', RoomSchema );
var RoomModel = mongoose.model('RoomModel', RoomSchema );
module.exports = RoomModel;