diff --git a/brmbar3/schema/0024-find-rates-fix.sql b/brmbar3/schema/0024-find-rates-fix.sql index 8dae7d8..a196873 100644 --- a/brmbar3/schema/0024-find-rates-fix.sql +++ b/brmbar3/schema/0024-find-rates-fix.sql @@ -31,6 +31,9 @@ BEGIN IF brmbar_privileged.has_exact_schema_version(23) THEN +DROP FUNCTION IF EXISTS public.find_buy_rate(integer,integer); +DROP FUNCTION IF EXISTS public.find_sell_rate(integer,integer); + CREATE OR REPLACE FUNCTION public.find_buy_rate( IN i_item_currency_id public.accounts.id%TYPE, IN i_other_currency_id public.accounts.id%TYPE