Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Obsolete Service/bugs
(view source)
Revision as of 18:51, 5 February 2011
44 bytes added
,
18:51, 5 February 2011
→Cleaning user database
:
include sqlite3 invocation
Line 35:
Line 35:
To remove inactive accounts (i.e. ones that have never been confirmed or marked as spammers):
To remove inactive accounts (i.e. ones that have never been confirmed or marked as spammers):
+
sqlite3 /srv/www-sugarlabs/bugs/db/trac.db
DELETE FROM session WHERE length(sid) != 24 AND NOT EXISTS (SELECT * FROM permission WHERE username = sid);
DELETE FROM session WHERE length(sid) != 24 AND NOT EXISTS (SELECT * FROM permission WHERE username = sid);
Sascha silbe
344
edits