fix(activeDid): implement dual-write pattern with proper MASTER_SETTINGS_KEY usage

- Fix $updateActiveDid() to use MASTER_SETTINGS_KEY constant instead of hardcoded "1"
- Update migration plan to reflect current state after rollback
- Ensure backward compatibility during activeDid migration transition

The dual-write pattern now correctly updates both active_identity and settings tables
using the proper MASTER_SETTINGS_KEY constant for settings table targeting.
This commit is contained in:
Matthew Raymer
2025-09-01 06:06:00 +00:00
parent f63f4856bf
commit b4e1313b22
3 changed files with 30 additions and 34 deletions

View File

@@ -12,6 +12,7 @@ language: Match repository languages and conventions
## Rules
0. **Principle:** just the facts m'am.
1. **Default to the least complex solution.** Fix the problem directly
where it occurs; avoid new layers, indirection, or patterns unless
strictly necessary.