X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..00375024263970a43ea7d39e3c65dfd0f32e8869:/lib/migrate.rb?ds=sidebyside diff --git a/lib/migrate.rb b/lib/migrate.rb index 75e047815..baa7faecd 100644 --- a/lib/migrate.rb +++ b/lib/migrate.rb @@ -134,10 +134,6 @@ module ActiveRecord def rename_index(table_name, old_name, new_name) execute "ALTER INDEX #{quote_table_name(old_name)} RENAME TO #{quote_table_name(new_name)}" end - - def rename_sequence(table_name, old_name, new_name) - execute "ALTER SEQUENCE #{quote_table_name(old_name)} RENAME TO #{quote_table_name(new_name)}" - end end end end