]> git.openstreetmap.org Git - rails.git/blobdiff - lib/migrate.rb
Make translated map layer names work
[rails.git] / lib / migrate.rb
index 75e047815a073004eb8f5c7fc8467f1840a9f944..baa7faecde3703d438548bb6c210ad812434d682 100644 (file)
@@ -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