Update migration.

* Use json column syntax that is Rails 3 friendly.
* Remove locked_at.
Refine upload attributes.