Commits

Donald Stufft committed caa6896

Fix merge users

Comments (0)

Files changed (1)

     c.execute('update comments set user_name=%s where user_name=%s', (new, old))
     c.execute('update ratings set user_name=%s where user_name=%s', (new, old))
     c.execute('update comments_journal set submitted_by=%s where submitted_by=%s', (new, old))
-    c.execute('delete from users where name=%s', (old,))
+    c.execute('delete from accounts_user where username=%s', (old,))
 
 def rename_user(store, old, new):
     c = store.get_cursor()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.