Adds a BEFORE INSERT OR UPDATE trigger on public.registrations: if the registrant is an admin (is_admin flag OR @appe.at domain — same rule as is_admin()), the registration type is forced to 'staff' (staff is merged into admin in this app). No exception. Enforced at the DB transaction level, so it covers every write path — the Pretix sync RPC, Sessionize sync, manual admin edits, direct Postgres. Backfilled the 2 existing admin registrations ([email protected], [email protected] were 'attendee' -> now 'staff'). Verified: setting an admin reg to 'attendee' is immediately forced back to 'staff'. Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>