Skip to content

Instantly share code, notes, and snippets.

@benhosmer
Created October 16, 2013 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benhosmer/7013248 to your computer and use it in GitHub Desktop.
Save benhosmer/7013248 to your computer and use it in GitHub Desktop.
Move cases within OpenAtrium to a different group.
UPDATE casetracker_case SET pid='NEWPROJECTNID' WHERE pid='OLDPROJECTNID';
UPDATE og_ancestry SET group_nid='OLDGROUPNID' WHERE nid in ('CASENODEID', 'OTHERCASENODEID');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment