mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 12:17:44 +02:00
initial workspace contribution
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
@@ -96,7 +96,7 @@ export async function createStorage (url: string, dbName: string): Promise<Serve
|
||||
const hierarchy = new Hierarchy()
|
||||
const triggers = new Triggers(new TxFactory(core.account.System))
|
||||
|
||||
const txes = await db.collection(DOMAIN_TX).find<Tx>({}).toArray()
|
||||
const txes = await db.collection(DOMAIN_TX).find<Tx>({ objectSpace: core.space.Model }).toArray()
|
||||
for (const tx of txes) {
|
||||
hierarchy.tx(tx)
|
||||
await triggers.tx(tx)
|
||||
|
||||
Reference in New Issue
Block a user