mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 14:40:39 +00:00
feat: changed backend-pg to backend
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { TDbClient } from "@app/db";
|
||||
import { TableName } from "@app/db/schemas";
|
||||
import { ormify } from "@app/lib/knex";
|
||||
|
||||
export type TApiKeyDALFactory = ReturnType<typeof apiKeyDALFactory>;
|
||||
|
||||
export const apiKeyDALFactory = (db: TDbClient) => ormify(db, TableName.ApiKey);
|
||||
Reference in New Issue
Block a user