b2700960d8
* bundle update * new migrations * fixed specs for new behaviour
11 lines
208 B
Ruby
11 lines
208 B
Ruby
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
|
|
|