diff options
author | Yoshiyuki Kinjo <yskkin@gmail.com> | 2019-04-13 01:11:39 +0900 |
---|---|---|
committer | Yoshiyuki Kinjo <yskkin@gmail.com> | 2019-04-13 15:39:19 +0900 |
commit | 53f1b3e579e6d1969a244cd8e05590a46be6a96f (patch) | |
tree | 79089491c2c46766fd210b4775d78975ca37260a /actionpack/lib/action_pack/version.rb | |
parent | 713f62430a42294dcb156cc8f38b41509a60d7a6 (diff) | |
download | rails-53f1b3e579e6d1969a244cd8e05590a46be6a96f.tar.gz rails-53f1b3e579e6d1969a244cd8e05590a46be6a96f.tar.bz2 rails-53f1b3e579e6d1969a244cd8e05590a46be6a96f.zip |
use PostgreSQL's bulk_alter_table implementation
Running this migration on mysql at current master fails
because `add_references_for_alter` is missing.
```
change_table :users, bulk: true do |t|
t.references :article
end
```
This is also true for postgresql adapter,
but its `bulk_alter_table` implementation can fallback in such case.
postgresql's implementation is desirable to prevent unknown failure like this.
Diffstat (limited to 'actionpack/lib/action_pack/version.rb')
0 files changed, 0 insertions, 0 deletions