阅读背景:

如何阻止Rails 3.1迁移在事务中运行?

来源:互联网 

I want to add an index to a production database. Fortunately we're running Postgres, which nicely allows concurrent indexing, so we can add an index without downtime. The catch -- concurrent indexes cannot be added from within a transaction, and rails migrations wrap everything inside a transaction.I want to add an index to a production database




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: