aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/colleges.yml
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-23 05:55:48 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-09-23 05:55:48 +0900
commitb798c5b796f58a9286e1a037db4453750cd26f95 (patch)
tree928e9fa437218783bd46c91e3ebb1e925e329ca8 /activerecord/test/fixtures/colleges.yml
parent18346bd52ab84fca996f4dfc1dd110ab2edf1f46 (diff)
downloadrails-b798c5b796f58a9286e1a037db4453750cd26f95.tar.gz
rails-b798c5b796f58a9286e1a037db4453750cd26f95.tar.bz2
rails-b798c5b796f58a9286e1a037db4453750cd26f95.zip
Prevent extra `column_for` for `change_column_{default,null,comment}`
`change_column_{default,null,comment}` in mysql2 adapter are passing `column.sql_type` as `type` to `change_column` to intend keeping previous type. But `column_for` requires extra query, so use passing `nil` to `type` explicitly in the internal for the purpose.
Diffstat (limited to 'activerecord/test/fixtures/colleges.yml')
0 files changed, 0 insertions, 0 deletions