pub async fn index_asset_version(
    conn: &mut PoolConnection<Sqlite>,
    index_id: &i64,
    asset_type: &IndexAssetType
) -> Result<i64>