diff --git a/dev/prod/package.json b/dev/prod/package.json index 6cfad0dd65..91e9ec25d9 100644 --- a/dev/prod/package.json +++ b/dev/prod/package.json @@ -112,7 +112,7 @@ "@anticrm/core": "~0.6.16", "@anticrm/rekoni": "~0.6.0", "@anticrm/tags-assets": "~0.6.0", - "@anticrm/tags": "~0.6.1", + "@anticrm/tags": "~0.6.2", "@anticrm/tags-resources": "~0.6.0", "@anticrm/server-chunter": "~0.6.0", "@anticrm/server-chunter-resources": "~0.6.0", diff --git a/dev/tool/package.json b/dev/tool/package.json index 655cf572e1..7db0c1f4a2 100644 --- a/dev/tool/package.json +++ b/dev/tool/package.json @@ -103,6 +103,6 @@ "@anticrm/server-telegram-resources": "~0.6.0", "@anticrm/rekoni": "~0.6.0", "request": "~2.88.2", - "@anticrm/tags": "~0.6.1" + "@anticrm/tags": "~0.6.2" } } diff --git a/models/server-tags/package.json b/models/server-tags/package.json index 9528ea09e8..0d3e56cacc 100644 --- a/models/server-tags/package.json +++ b/models/server-tags/package.json @@ -30,6 +30,6 @@ "@anticrm/platform": "~0.6.6", "@anticrm/server-tags": "~0.6.0", "@anticrm/server-core": "~0.6.1", - "@anticrm/tags": "~0.6.1" + "@anticrm/tags": "~0.6.2" } } diff --git a/models/tags/package.json b/models/tags/package.json index c4839ccd5d..fbd1ed60c4 100644 --- a/models/tags/package.json +++ b/models/tags/package.json @@ -29,7 +29,7 @@ "@anticrm/model": "~0.6.0", "@anticrm/core": "~0.6.16", "@anticrm/platform": "~0.6.6", - "@anticrm/tags": "~0.6.1", + "@anticrm/tags": "~0.6.2", "@anticrm/tags-resources": "~0.6.0", "@anticrm/ui": "~0.6.0", "@anticrm/model-core": "~0.6.0", diff --git a/models/tags/src/migration.ts b/models/tags/src/migration.ts index 835f0fc170..a2869993cb 100644 --- a/models/tags/src/migration.ts +++ b/models/tags/src/migration.ts @@ -1,9 +1,21 @@ import core, { TxOperations } from '@anticrm/core' import { MigrateOperation, MigrationClient, MigrationUpgradeClient } from '@anticrm/model' +import { DOMAIN_TAGS } from './index' import tags from './plugin' export const tagsOperation: MigrateOperation = { - async migrate (client: MigrationClient): Promise {}, + async migrate (client: MigrationClient): Promise { + await client.update( + DOMAIN_TAGS, + { + _class: tags.class.TagElement, + category: 'tags:category:Other' + }, + { + category: 'recruit:category:Other' + } + ) + }, async upgrade (client: MigrationUpgradeClient): Promise { const tx = new TxOperations(client, core.account.System) const current = await tx.findOne(core.class.Space, { diff --git a/plugins/recruit-resources/package.json b/plugins/recruit-resources/package.json index e3e52d4301..076338ed63 100644 --- a/plugins/recruit-resources/package.json +++ b/plugins/recruit-resources/package.json @@ -55,7 +55,7 @@ "@anticrm/contact-resources": "~0.6.0", "@anticrm/rekoni": "~0.6.0", "@anticrm/notification": "~0.6.0", - "@anticrm/tags": "~0.6.1", + "@anticrm/tags": "~0.6.2", "@anticrm/calendar": "~0.6.0" } } diff --git a/plugins/tags-assets/package.json b/plugins/tags-assets/package.json index 9efe366ca7..595453903e 100644 --- a/plugins/tags-assets/package.json +++ b/plugins/tags-assets/package.json @@ -30,6 +30,6 @@ }, "dependencies": { "@anticrm/platform": "~0.6.6", - "@anticrm/tags": "~0.6.1" + "@anticrm/tags": "~0.6.2" } } diff --git a/plugins/tags-resources/package.json b/plugins/tags-resources/package.json index 81fc012255..d879dff392 100644 --- a/plugins/tags-resources/package.json +++ b/plugins/tags-resources/package.json @@ -33,7 +33,7 @@ "dependencies": { "@anticrm/platform": "~0.6.6", "svelte": "^3.47", - "@anticrm/tags": "~0.6.1", + "@anticrm/tags": "~0.6.2", "@anticrm/ui": "~0.6.0", "@anticrm/presentation": "~0.6.2", "@anticrm/core": "~0.6.16", diff --git a/plugins/tags/package.json b/plugins/tags/package.json index 57bd34fc70..19410564b1 100644 --- a/plugins/tags/package.json +++ b/plugins/tags/package.json @@ -1,6 +1,6 @@ { "name": "@anticrm/tags", - "version": "0.6.1", + "version": "0.6.2", "main": "lib/index.js", "author": "Anticrm Platform Contributors", "license": "EPL-2.0", diff --git a/plugins/task-resources/package.json b/plugins/task-resources/package.json index de01516f81..cbf137ecb4 100644 --- a/plugins/task-resources/package.json +++ b/plugins/task-resources/package.json @@ -48,7 +48,7 @@ "@anticrm/chunter-resources": "~0.6.0", "@anticrm/workbench": "~0.6.1", "@anticrm/notification": "~0.6.0", - "@anticrm/tags": "~0.6.1", + "@anticrm/tags": "~0.6.2", "@anticrm/kanban": "~0.6.0" } } diff --git a/server-plugins/tags-resources/package.json b/server-plugins/tags-resources/package.json index f25145a699..2ef5a08a44 100644 --- a/server-plugins/tags-resources/package.json +++ b/server-plugins/tags-resources/package.json @@ -29,6 +29,6 @@ "@anticrm/core": "~0.6.16", "@anticrm/platform": "~0.6.6", "@anticrm/server-core": "~0.6.1", - "@anticrm/tags": "~0.6.1" + "@anticrm/tags": "~0.6.2" } }