From 6b7043ae569f9154c1df135d325335878555ae9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Thu, 4 Dec 2025 19:30:18 +0400 Subject: [PATCH] Improve migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- pkg/coredata/migrations/20251204T000000Z.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/coredata/migrations/20251204T000000Z.sql b/pkg/coredata/migrations/20251204T000000Z.sql index 65e128260..ed922447b 100644 --- a/pkg/coredata/migrations/20251204T000000Z.sql +++ b/pkg/coredata/migrations/20251204T000000Z.sql @@ -5,4 +5,4 @@ SET FROM audits a WHERE - reports.tenant_id = a.tenant_id; + reports.id = a.report_id;