when a table renamed, rename the foreign key constraints
authorronen barzel <ronen@barzel.org>
Sun, 25 Nov 2012 23:21:37 +0000 (23:21 +0000)
committerronen barzel <ronen@barzel.org>
Sun, 25 Nov 2012 23:22:45 +0000 (23:22 +0000)
commitbaf80bf6c55932a1c86aad30dc410cb35e713ef4
treea87dc082d5ffca08cf1fad17e0b82b3576e8b085
parent0aa38ba7600adfd87643afcddb9ca02c8cdd6165
when a table renamed, rename the foreign key constraints
(except for sqlite3, which doesn't support that)

addresses #64
lib/schema_plus/active_record/connection_adapters/abstract_adapter.rb
lib/schema_plus/active_record/connection_adapters/sqlite3_adapter.rb
spec/migration_spec.rb