Skip to content

Instantly share code, notes, and snippets.

@phillipadsmith
Created April 25, 2009 01:04
Show Gist options
  • 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