mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-09 19:27:44 +02:00
Use current db schema (#7094)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@ import {
|
||||
import { getMongoClient, getWorkspaceMongoDB } from '@hcengineering/mongo'
|
||||
import {
|
||||
convertDoc,
|
||||
createTable,
|
||||
createTables,
|
||||
getDBClient,
|
||||
getDocFieldsByDomains,
|
||||
retryTxn,
|
||||
@@ -80,7 +80,7 @@ async function moveWorkspace (
|
||||
tables = tables.filter((t) => include.has(t))
|
||||
}
|
||||
|
||||
await createTable(pgClient, tables)
|
||||
await createTables(pgClient, tables)
|
||||
const token = generateToken(systemAccountEmail, wsId)
|
||||
const endpoint = await getTransactorEndpoint(token, 'external')
|
||||
const connection = (await connect(endpoint, wsId, undefined, {
|
||||
|
||||
Reference in New Issue
Block a user