diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-12-28 22:56:44 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-02-20 18:19:25 +0100 |
commit | 39eef1a565ef02e4dabc0811ef1bf4547ff9a60e (patch) | |
tree | cc528b7c8edb014e65bc9c4e1c5e8dec4d89993d /activerecord/lib/active_record/associations/preloader/through_association.rb | |
parent | 20ed3e0f715741ca53c992bcdf87b5039e6692af (diff) | |
download | rails-39eef1a565ef02e4dabc0811ef1bf4547ff9a60e.tar.gz rails-39eef1a565ef02e4dabc0811ef1bf4547ff9a60e.tar.bz2 rails-39eef1a565ef02e4dabc0811ef1bf4547ff9a60e.zip |
also rename indexes when a table or column is renamed
When a table or a column is renamed related indexes kept their name. This will lead to confusing names. This patch renames related indexes when a column or a table is renamed. Only indexes with names generated by rails will be renamed. Indexes with custom names will not be renamed.
Diffstat (limited to 'activerecord/lib/active_record/associations/preloader/through_association.rb')
0 files changed, 0 insertions, 0 deletions