Skip to content

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

Update 20250419004044_secret-reminder-recipients.ts

Daniel Hougaardb8db15563af0
diff --git a/backend/src/db/migrations/20250419004044_secret-reminder-recipients.ts b/backend/src/db/migrations/20250419004044_secret-reminder-recipients.ts
index 127101d22d..251a385ee8 100644
--- a/backend/src/db/migrations/20250419004044_secret-reminder-recipients.ts
+++ b/backend/src/db/migrations/20250419004044_secret-reminder-recipients.ts
@@ -21,7 +21,7 @@ export async function up(knex: Knex): Promise<void> {
table.foreign("projectId").references("id").inTable(TableName.Project).onDelete("CASCADE");
table.index("secretId");
- table.unique(["secretId", "userId", "projectId"]);
+ table.unique(["secretId", "userId"]);
});
await createOnUpdateTrigger(knex, TableName.SecretReminderRecipients);