bug fix: rename when table has more than one constraint.
authorronen barzel <ronen@barzel.org>
Sun, 20 Jan 2013 22:14:50 +0000 (22:14 +0000)
committerronen barzel <ronen@barzel.org>
Sun, 20 Jan 2013 22:16:13 +0000 (22:16 +0000)
commit8b2097e500f2a5b032cf660c620f48a7aec8c575
tree6a6ba3df43d5991825038124f4d2a8efeb638f13
parentde51bd9dc3526486d2d76b14a8e274a9b47a6b34
bug fix: rename when table has more than one constraint.

it could choosing the wrong index.
lib/schema_plus/active_record/connection_adapters/abstract_adapter.rb