X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..c878b5b8d4eea403ad5838fabcb5847517d130e2:/lib/migrate.rb 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