Schema 0009: fix find_buy_rate arguments syntax

This commit is contained in:
Dominik Pantůček 2025-07-10 16:00:28 +02:00
parent 0bff27da29
commit a8a124835c

View file

@ -33,8 +33,8 @@ IF brmbar_privileged.has_exact_schema_version(8) THEN
-- return negative number on rate not found -- return negative number on rate not found
CREATE OR REPLACE FUNCTION public.find_buy_rate( CREATE OR REPLACE FUNCTION public.find_buy_rate(
IN i_item_id public.accounts.id%TYPE; IN i_item_id public.accounts.id%TYPE,
IN i_other_id public.accounts.id%TYPE; IN i_other_id public.accounts.id%TYPE
) RETURNS NUMERIC ) RETURNS NUMERIC
LANGUAGE plpgsql LANGUAGE plpgsql
AS $$ AS $$