-- Revert tipus:user_profile from pg
begin;
drop trigger if exists update_user_profile on tipus.user_profile;
drop function if exists tipus.update_user_profile();
drop view if exists tipus.user_profile;
commit;