Skip to main content

migrate_moderation

Function migrate_moderation 

Source
pub(super) async fn migrate_moderation(services: &Services) -> Result
Expand description

Copies foreign suspension and lock columns into tuwunel’s own. Runs every boot and is non-destructive: the source columns are read, never removed, so a database also opened by its origin server keeps working. A no-op when the source columns are absent.