diff --git a/db/migrate/20130117132943_remove_index_articles_on_name.rb b/db/migrate/20130117132943_remove_index_articles_on_name.rb new file mode 100644 index 0000000..4bd9cea --- /dev/null +++ b/db/migrate/20130117132943_remove_index_articles_on_name.rb @@ -0,0 +1,9 @@ +class RemoveIndexArticlesOnName < ActiveRecord::Migration + def self.up + remove_index :articles, :name + end + + def self.down + add_index :articles, :name + end +end -- libgit2 0.21.2