mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-09 17:54:32 +00:00
15 lines
453 B
TypeScript
15 lines
453 B
TypeScript
import { guestId } from '@hcengineering/guest'
|
|
import {
|
|
tryMigrate,
|
|
type MigrateOperation,
|
|
type MigrationClient,
|
|
type MigrationUpgradeClient
|
|
} from '@hcengineering/model'
|
|
|
|
export const guestOperation: MigrateOperation = {
|
|
async migrate (client: MigrationClient): Promise<void> {
|
|
await tryMigrate(client, guestId, [])
|
|
},
|
|
async upgrade (state: Map<string, Set<string>>, client: () => Promise<MigrationUpgradeClient>): Promise<void> {}
|
|
}
|