Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add index for blind index

Maidul Islam6db47499de52
diff --git a/backend-pg/src/db/migrations/20231218103423_secret.ts b/backend-pg/src/db/migrations/20231218103423_secret.ts
index b017c5d9f4..3c8bb8c790 100644
--- a/backend-pg/src/db/migrations/20231218103423_secret.ts
+++ b/backend-pg/src/db/migrations/20231218103423_secret.ts
@@ -47,6 +47,7 @@ export async function up(knex: Knex): Promise<void> {
t.foreign("userId").references("id").inTable(TableName.Users).onDelete("CASCADE");
t.uuid("folderId").notNullable();
t.foreign("folderId").references("id").inTable(TableName.SecretFolder).onDelete("CASCADE");
+ t.index("secretBlindIndex");
t.timestamps(true, true, true);
});
}