pub async fn penultimate_asset_for_index(
    conn: &mut PoolConnection<Postgres>,
    namespace: &str,
    identifier: &str,
    asset_type: IndexAssetType
) -> Result<IndexAsset>