Apologies for the mistake in the last part of the Time Off Manager tutorial. There's always this one thing that goes missing during the endless final checking of each article.
This time it was definition of the function `public.current_user_id`. Big thanks to billllll from HN