From 3b0cb6472d341463abc15daf34947240327feb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Thu, 10 Jul 2025 16:19:25 +0200 Subject: [PATCH] Schema 0011: fix type inference for id --- brmbar3/schema/0011-shop-undo-sale.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brmbar3/schema/0011-shop-undo-sale.sql b/brmbar3/schema/0011-shop-undo-sale.sql index 67d47cc..4427070 100644 --- a/brmbar3/schema/0011-shop-undo-sale.sql +++ b/brmbar3/schema/0011-shop-undo-sale.sql @@ -36,7 +36,7 @@ CREATE OR REPLACE FUNCTION brmbar_privileged.create_transaction( i_description public.transactions.description%TYPE ) RETURNS public.transactions.id%TYPE AS $$ DECLARE - new_transaction_id public.transactions%TYPE; + new_transaction_id public.transactions.id%TYPE; BEGIN -- Create a new transaction INSERT INTO public.transactions (responsible, description)