X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e660e609661edadc1ed5ad49d6e83e936b2f91cd..544113affae90f5ca661021a980ab0a9c2c2b2d1:/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