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.")