From cdfba3c1a862d908b02fc4116b37c84bd00ffcac Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Sun, 11 Jan 2026 11:42:42 -0600 Subject: [PATCH] fix: Add audit-log to migration order (refs #10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The audit_logs table migration was not being executed because the audit-log feature was missing from MIGRATION_ORDER in run-all.ts, causing 500 errors when accessing the audit logs API. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/src/_system/migrations/run-all.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/_system/migrations/run-all.ts b/backend/src/_system/migrations/run-all.ts index c557e87..a134ee9 100644 --- a/backend/src/_system/migrations/run-all.ts +++ b/backend/src/_system/migrations/run-all.ts @@ -27,6 +27,7 @@ const MIGRATION_ORDER = [ 'features/notifications', // Depends on maintenance and documents 'features/user-profile', // User profile management; independent 'features/terms-agreement', // Terms & Conditions acceptance audit trail + 'features/audit-log', // Centralized audit logging; independent ]; // Base directory where migrations are copied inside the image (set by Dockerfile)