From 80112eca96026d09cc22b89f3651252559542e44 Mon Sep 17 00:00:00 2001 From: sksadjad Date: Sat, 25 Nov 2023 11:03:16 +0100 Subject: [PATCH] fix: document added --- packages/data-store/src/migrations/index.ts | 1 - packages/ssi-sdk-core/src/utils/database.ts | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/data-store/src/migrations/index.ts b/packages/data-store/src/migrations/index.ts index e107873b2..daad5a1dc 100644 --- a/packages/data-store/src/migrations/index.ts +++ b/packages/data-store/src/migrations/index.ts @@ -1,2 +1 @@ export { DataStoreMigrations } from './generic' -export { createQueryRunnerAdapter } from './postgres/utils' diff --git a/packages/ssi-sdk-core/src/utils/database.ts b/packages/ssi-sdk-core/src/utils/database.ts index 4ccc52abe..48a406362 100644 --- a/packages/ssi-sdk-core/src/utils/database.ts +++ b/packages/ssi-sdk-core/src/utils/database.ts @@ -2,7 +2,9 @@ export const flattenArray = (args: { items: Array> }): Array export const flattenMigrations = (args: { migrations: Array> }): Array => args.migrations.flat() as Array -// It should accept queryRunner from the typeorm +/** + * It should accept queryRunner from the typeorm + */ export const enablePostgresUuidExtension = async (queryRunner: any) => { if (!queryRunner.query) { throw new Error("You should pass a QueryRunner object to this function.")