feat: added first version of migrator to secret v2

This commit is contained in:
=
2024-07-30 23:19:07 +05:30
parent ab88e6c414
commit a53d0b2334
10 changed files with 170 additions and 45 deletions
@@ -144,6 +144,8 @@ export const secretRotationDALFactory = (db: TDbClient) => {
const findRotationOutputsV2ByRotationId = async (rotationId: string) =>
secretRotationOutputV2Orm.find({ rotationId });
// special query
return {
...secretRotationOrm,
find,