mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-21 17:17:54 +02:00
UBERF-7308: Upgrade model improvements (#5847)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -30,7 +30,13 @@ import core, {
|
||||
type TxCollectionCUD,
|
||||
type TxCreateDoc
|
||||
} from '@hcengineering/core'
|
||||
import { tryMigrate, type MigrateOperation, type MigrationClient, type MigrationIterator } from '@hcengineering/model'
|
||||
import {
|
||||
tryMigrate,
|
||||
type MigrateOperation,
|
||||
type MigrationClient,
|
||||
type MigrationIterator,
|
||||
type MigrationUpgradeClient
|
||||
} from '@hcengineering/model'
|
||||
import { DOMAIN_ACTIVITY } from '@hcengineering/model-activity'
|
||||
import {
|
||||
getAllObjectTransactions,
|
||||
@@ -275,5 +281,5 @@ export const activityServerOperation: MigrateOperation = {
|
||||
}
|
||||
])
|
||||
},
|
||||
async upgrade (): Promise<void> {}
|
||||
async upgrade (state: Map<string, Set<string>>, client: () => Promise<MigrationUpgradeClient>): Promise<void> {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user