forked from brmlab/brmbar-github
Schema 0009: fix type inference for id
This commit is contained in:
parent
903cc8f4d7
commit
ae16ebc51f
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ CREATE OR REPLACE FUNCTION public.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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue