added rooms operations
joining, creating new if full
This commit is contained in:
@@ -3,9 +3,9 @@ var mongoose = require('mongoose');
|
||||
var Schema = mongoose.Schema;
|
||||
|
||||
var RoomSchema = new Schema({
|
||||
id: Number,
|
||||
createDate: Date,
|
||||
started: Boolean,
|
||||
full: Boolean,
|
||||
players: Array,
|
||||
positions: Map
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user