naming convention
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
var mongoose = require('mongoose');
|
||||
var Schema = mongoose.Schema;
|
||||
|
||||
var GroupSchema = new Schema({
|
||||
var permissonsSchema
|
||||
|
||||
|
||||
var groupSchema = new Schema({
|
||||
// TODO additional fields may be added
|
||||
name: {
|
||||
type: String
|
||||
@@ -13,4 +16,4 @@ var GroupSchema = new Schema({
|
||||
users: []
|
||||
});
|
||||
|
||||
module.exports = mongoose.model('Group', GroupSchema);
|
||||
module.exports = mongoose.model('Group', groupSchema);
|
||||
|
||||
Reference in New Issue
Block a user