Fix self-host migrations and first admin setup

This commit is contained in:
Poyraz Avsever
2026-06-14 12:16:23 +03:00
parent e677d69bbe
commit 8fa89168c3
9 changed files with 238 additions and 25 deletions
@@ -37,3 +37,11 @@ begin
return new;
end;
$$;
drop trigger if exists on_auth_user_created on auth.users;
create trigger on_auth_user_created
after insert on auth.users
for each row execute procedure public.handle_new_user();
notify pgrst, 'reload schema';