Skip to content

Commit 3a70ebd

Browse files
committed
feat: add "project.groups" field
1 parent 16ba132 commit 3a70ebd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

migrations/elasticsearch_sync.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ function getRequestBody (indexName) {
306306
terms: {
307307
type: 'string'
308308
},
309+
groups: {
310+
type: 'string'
311+
},
309312
type: {
310313
type: 'string',
311314
index: 'not_analyzed'

src/services/ProcessorServiceProject.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function createSchema () {
3131
createdAt: Joi.date().required(),
3232
updatedAt: Joi.date().required(),
3333
terms: Joi.array().items(Joi.string()).optional(),
34+
groups: Joi.array().items(Joi.string()).optional(),
3435
name: Joi.string().required(),
3536
description: Joi.string().allow(null).allow('').optional(),
3637
type: Joi.string().max(45).required(),

0 commit comments

Comments
 (0)