From b8db15563af06aff7d5880eb09372dbffef9a460 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Sat, 19 Apr 2025 07:07:45 +0400 Subject: [PATCH] Update 20250419004044_secret-reminder-recipients.ts --- .../db/migrations/20250419004044_secret-reminder-recipients.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/db/migrations/20250419004044_secret-reminder-recipients.ts b/backend/src/db/migrations/20250419004044_secret-reminder-recipients.ts index 127101d22..251a385ee 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 { 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);