Allow both Rails 3.0 and 3.1
Store current state of model for running data migrations