Rails迁移特性可以帮助应用程序开发人员管理这种模式演变,便于在应用程序代码与数据库对象之间同步更改。
The Rails migration feature helps application developers manage this schema evolution, making it easy to synchronize changes between the application code and the database objects.
这种代码生成技术还有另一个用途:模式迁移。
This code-generation technique also serves another purpose: schema migration.
Rails 迁移使我们能够用代码表示模式的两个版本之间的差别,和它们所包含的数据之间的差别(请参阅文章 “ Rails 迁移”)。
Rails migrations let us express the differences between two versions of our schema, and the data they contain, in code (see the article " Rails migrations").
应用推荐