mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 19:16:22 +00:00
feat: changed backend-pg to backend
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { TDbClient } from "@app/db";
|
||||
import { TableName } from "@app/db/schemas";
|
||||
import { ormify } from "@app/lib/knex";
|
||||
|
||||
export type TIdentityUaDALFactory = ReturnType<typeof identityUaDALFactory>;
|
||||
|
||||
export const identityUaDALFactory = (db: TDbClient) => {
|
||||
const universalAuthOrm = ormify(db, TableName.IdentityUniversalAuth);
|
||||
|
||||
return universalAuthOrm;
|
||||
};
|
||||
Reference in New Issue
Block a user