Skip to main content

migrate

Function migrate 

Source
pub(super) async fn migrate(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 source column the database lacks copies nothing.