fix: store username on moderation_actions for retention safety
Add denormalized column to moderation_actions so the dashboard TARGET field survives message table purges. Backfills all existing 217 rows. Changes: schema + autoDeleteManager + backend repository query + migration 0017.
This commit is contained in:
@@ -120,6 +120,13 @@
|
||||
"when": 1787185000000,
|
||||
"tag": "0016_drop_user_reputations",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 17,
|
||||
"version": "7",
|
||||
"when": 1787810000000,
|
||||
"tag": "0017_add_username_to_moderation_actions",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user