code-dot-org/code-dot-org — pull request #517 by laurelfan (2014-11-21 18:44:56+00:00)
Title: add script_id to user_levels and activities

* migration to add script id to user_levels and activities
* script to copy existing user_levels to new ones for each relevant
script
* I don't think it's necessary to do the same for activities because we
don't actually query activities in a script context for any user
facing features (we use user_level where we need to do something like
this)