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
7 lines
418 B
SQL
7 lines
418 B
SQL
-- "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 15);
|