Private Groups + Load-Templates Features
This commit is contained in:
@@ -90,7 +90,9 @@ const schema = new Schema({
|
||||
|
||||
payment_term: { type: String },
|
||||
terms_and_conditions: { type: String },
|
||||
createdAt: { type : Date, required : true, default : () => { return Date.now(); } }
|
||||
createdAt: { type : Date, required : true, default : () => { return Date.now(); } },
|
||||
|
||||
privacy: { type: Boolean, default: false }, /// Disables visibility on the directory, only enabled for private groups.
|
||||
});
|
||||
|
||||
module.exports = mongoose.model( "loads", schema );
|
||||
|
||||
Reference in New Issue
Block a user