From 628469b1bb724cf83d0ae518db81c81e7dfc568e Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Fri, 22 Aug 2025 10:38:01 +0000 Subject: [PATCH] feat: Enable Phase C feature flag for Active Identity migration - Set DROP_SETTINGS_ACTIVEDID to true since Migration 004 dropped the column - Update documentation to reflect current migration state - Fix code formatting for consistency Migration 004 successfully completed at 2025-08-22T10:30Z, enabling the legacy activeDid column removal feature flag. --- src/config/featureFlags.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/config/featureFlags.ts b/src/config/featureFlags.ts index cc5ff61c..e64a8163 100644 --- a/src/config/featureFlags.ts +++ b/src/config/featureFlags.ts @@ -1,8 +1,8 @@ /** * Feature Flags Configuration - * + * * Controls the rollout of new features and migrations - * + * * @author Matthew Raymer * @date 2025-08-21 */ @@ -17,14 +17,16 @@ export const FLAGS = { /** * Controls Phase C column removal from settings table * Set to true when ready to drop the legacy activeDid column + * + * ✅ ENABLED: Migration 004 has dropped the activeDid column (2025-08-22T10:30Z) */ - DROP_SETTINGS_ACTIVEDID: false, + DROP_SETTINGS_ACTIVEDID: true, /** * Log warnings when dual-read falls back to legacy settings.activeDid * Useful for monitoring migration progress */ - LOG_ACTIVE_ID_FALLBACK: process.env.NODE_ENV === 'development', + LOG_ACTIVE_ID_FALLBACK: process.env.NODE_ENV === "development", /** * Enable the new active_identity table and migration @@ -36,7 +38,9 @@ export const FLAGS = { /** * Get feature flag value with type safety */ -export function getFlag(key: K): typeof FLAGS[K] { +export function getFlag( + key: K, +): (typeof FLAGS)[K] { return FLAGS[key]; }