This commit is contained in:
root 2020-07-19 13:26:57 +00:00
parent 1bb080f7f1
commit 0c881c919b
15 changed files with 260 additions and 83 deletions

View file

@ -74,14 +74,14 @@ const OrganizationVersion = {
priceLabel: { type: String, required: true },
description: { type: String }
}],
tag: [Tag]
tags: [{ type: String }]
}
const Organization = new Schema({
adminName: { type: String, required: true },
email: { type: String, required: true },
token: { type: String, required: true },
slug: [{ type: String }], // aliases system
slugs: [{ type: String }], // aliases system
validationState: {
type: AllowedString,
required: true,