feat(settings): add synced user assets

This commit is contained in:
Alois 2026-09-19 23:04:22 +02:00
commit 01f1834e25
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
24 changed files with 959 additions and 50 deletions

View file

@ -393,6 +393,7 @@ fn run_purge_stages(
}
fn purge_database_rows(user_id: i64) -> Result<(), crate::storage_error::StorageError> {
crate::util::user_assets::purge_user(user_id)?;
db::with_db(|conn| {
let tx = conn.unchecked_transaction()?;
tx.execute(