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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user