Use the ::uuid cast to convert the bigint to uuid.
why does that happen, user_id is uuid type. and auth.uid is also a uuid, or whats happening in here ?

uuid_generate_v5() function.user_id and author_id all UUID type?


uuid_generate_v5()author_id