Forum: the "Alapító tag" badge for the first hundred members

The first hundred members (in the order they chose a nickname) keep it for
good; joining is serialised so there are never more than a hundred. Shown
next to the nickname in posts, author lines and profiles; the privacy
notice mentions it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-26 15:43:24 +00:00
co-authored by Claude Opus 5.5
parent 863002c1e7
commit 8fc550662e
12 changed files with 64 additions and 10 deletions
@@ -0,0 +1,5 @@
-- "Alapító tag": the first hundred members (in the order they chose a
-- nickname) keep the badge for good, however many come after them.
ALTER TABLE forum.members ADD COLUMN founder boolean NOT NULL DEFAULT false;
UPDATE forum.members SET founder = true
WHERE user_id IN (SELECT user_id FROM forum.members ORDER BY created_at, user_id LIMIT 100);