Changes

Jump to navigation Jump to search
236 bytes added ,  13:33, 18 August 2010
no edit summary
update users set email='OLDEMAIL' where login='USER';
=== Zapping a user account===
WARNING: to zap kill a user account, make sure you also remove *ALL* its related associated records
from all tables, or Gitorious will break in non-obvious ways.
DELETE FROM repositories WHERE user_id=666;
DELETE FROM projects WHERE user_id=666;
 
NOTE: tch pointed out that Rails applications often provide a higher-level method
in class User which deletes the record and its associated entries. However, our
deployed version of Gitorious does not seem to provide it.
=== Restart gitorious after code/config changes ===
touch tmp/restart.txt

Navigation menu