Skip to content
Snippets Groups Projects
Commit 38a4c91e authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

fix bad select

parent 77ac925b
No related branches found
No related tags found
1 merge request!27add balance to accounts
...@@ -27,7 +27,7 @@ CREATE FUNCTION public.get_total_balance(account_row public.account) RETURNS num ...@@ -27,7 +27,7 @@ CREATE FUNCTION public.get_total_balance(account_row public.account) RETURNS num
END IF; END IF;
-- Get current UD index -- Get current UD index
SELECT index INTO latest_ud SELECT * INTO latest_ud
FROM public.universal_dividend FROM public.universal_dividend
ORDER BY index DESC ORDER BY index DESC
LIMIT 1; LIMIT 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment