我正在构建一个Rails应用程序,使用MongoDB作为后端,使用MongoMapper作为ORM工具。假设在版本1中,我定义了以下模型:classSomeModelincludeMongoMapper::Documentkey:some_key,Stringend后来在第2版中,我意识到我需要在模型上添加一个新的必需键。所以,在版本2中,SomeModel现在看起来像这样:classSomeModelincludeMongoMapper::Documentkey:some_key,Stringkey:some_new_key,String,:required=>trueend如何迁移