Skip to main content

## MIGRATION_006

# Constant MIGRATION_006

Source

    const MIGRATION_006: &str = r#"
    -- Add columns to store item metadata directly in downloads
    -- This ensures correct display even when items aren't synced locally
    ALTER TABLE downloads ADD COLUMN item_name TEXT;
    ALTER TABLE downloads ADD COLUMN artist_name TEXT;
    ALTER TABLE downloads ADD COLUMN album_name TEXT;
    "#;

Expand description

Migration to store item metadata directly in downloads table This eliminates dependency on items table being synced and fixes UUID display issues