aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20131124113022_delete_cached_slugs.refinery_blog.rb
blob: eecb0d61ccf426bbf4c6e6c2005672a71a8e90aa (plain) (blame)
1
2
3
4
5
6
7
# This migration comes from refinery_blog (originally 20120531113632)
class DeleteCachedSlugs < ActiveRecord::Migration
  def change
    remove_column Refinery::Blog::Category.table_name, :cached_slug
    remove_column Refinery::Blog::Post.table_name, :cached_slug
  end
end