Forum: founders are the first fifteen; the admin can take or give the badge

The site has few members yet, some of them test accounts: the badge goes to
the first fifteen, and the admin can take it from a test account on its
profile (the place goes to the next newcomer) or give 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:46:44 +00:00
co-authored by Claude Opus 5.5
parent 8fc550662e
commit 493539bf56
10 changed files with 106 additions and 11 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
-- "Alapító tag": the first hundred members (in the order they chose a
-- nickname) keep the badge for good, however many come after them.
-- "Alapító tag": the first fifteen members (in the order they chose a
-- nickname) keep the badge for good. The admin can take it from a test
-- account or give it; a freed place goes to the next newcomer.
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);
WHERE user_id IN (SELECT user_id FROM forum.members ORDER BY created_at, user_id LIMIT 15);