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