added drawing pawns on map

This commit is contained in:
Wenszel
2021-03-21 15:13:31 +01:00
parent e32b46556c
commit 59055a0d78
2 changed files with 28 additions and 2 deletions
+4 -1
View File
@@ -11,7 +11,10 @@ var RoomSchema = new Schema({
color: String,
ready: Boolean,
}],
positions: Map
positions: {
type: Map,
of: Array,
}
});
var RoomModel = mongoose.model('RoomModel', RoomSchema );