aboutsummaryrefslogblamecommitdiffstats
path: root/db/migrate/7_add_custom_teaser_field_to_blog_posts.rb
blob: daa4d04312c3cb30452881f136628e6d44910dec (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                               
class AddCustomTeaserFieldToBlogPosts < ActiveRecord::Migration
  def self.up
    add_column :blog_posts, :custom_teaser, :text
  end

  def self.down
    remove_column :blog_posts, :custom_teaser
  end
end