diff --git a/models/staging/defillama/fact_defillama_yields.sql b/models/staging/defillama/fact_defillama_yields.sql index 495aa4f2..ed3b8eee 100644 --- a/models/staging/defillama/fact_defillama_yields.sql +++ b/models/staging/defillama/fact_defillama_yields.sql @@ -16,8 +16,8 @@ SELECT value:"project"::string AS project, value:"symbol"::string AS symbol, value:"tvlUsd"::float AS tvl_usd, - value:"apyBase" AS apy_base, - value:"apyReward" AS apy_reward, + value:"apyBase"::float AS apy_base, + value:"apyReward"::float AS apy_reward, value:"apy"::float AS apy, value:"pool"::string AS pool, value:"apyPct1D"::string AS apy_pct_1d,