阅读背景:

IN ACCESS EXCLUSIVE MODE在Rails迁移中做了什么?

来源:互联网 

My understanding is that you want to lock the table so that users can't be making changes to its rows while you want to update something. For example, if you want to update all your posts that used to have an empty body to say "write something here" instead, then you want to lock those rows up while this migration is running. I'm not sure what the My understanding is that you want to lock the t




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

分享到: