changed schema
This commit is contained in:
parent
f402293f71
commit
68e9c5361e
@ -16,14 +16,14 @@ classes.schema = new SimpleSchema({
|
|||||||
name: {type: String, label: "Class Name"},
|
name: {type: String, label: "Class Name"},
|
||||||
hour: {type: String, optional: true},
|
hour: {type: String, optional: true},
|
||||||
teacher: {type: String, optional: true},
|
teacher: {type: String, optional: true},
|
||||||
|
admin: {type: String, optional: true},
|
||||||
status: {type: Boolean, defaultValue: false},
|
status: {type: Boolean, defaultValue: false},
|
||||||
code: {type: String, optional: true},
|
code: {type: String, optional: true},
|
||||||
privacy: {type: String},
|
privacy: {type: String},
|
||||||
category: {type: String},
|
category: {type: String},
|
||||||
moderators: {type: [String], optional: true},
|
moderators: {type: [String], optional: true},
|
||||||
banned: {type: [String], optional: true},
|
banned: {type: [String], optional: true},
|
||||||
blockEdit: {type: [String], optional: true},
|
blockEdit: {type: [String], optional: true}
|
||||||
admin: {type: String}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
work.schema = new SimpleSchema({
|
work.schema = new SimpleSchema({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user