Skip to content

Instantly share code, notes, and snippets.

@phillipadsmith
Created April 25, 2009 01:04
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 phillipadsmith/101435 to your computer and use it in GitHub Desktop.
Save phillipadsmith/101435 to your computer and use it in GitHub Desktop.
Reactivate deactivated contributor
update member
set active = True
where id in (
select distinct sc.member__id
from story__contributor sc
inner join story_instance si on sc.story_instance__id = si.id
where si.story__id = ID OF YOUR STORY
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment