Permalink
Browse files

Add migration for rendered body

  • Loading branch information...
jm committed Feb 5, 2010
1 parent 03b2c39 commit 2cbb0b04411ac1712a4f5039ed93bdad0cb6e76e
Showing with 9 additions and 0 deletions.
  1. +9 −0 db/migrate/20100205050927_add_rendered_body_to_posts.rb
@@ -0,0 +1,9 @@
class AddRenderedBodyToPosts < ActiveRecord::Migration
def self.up
add_column :posts, :rendered_body, :text
end
def self.down
remove_column :posts, :rendered_body
end
end

0 comments on commit 2cbb0b0

Please sign in to comment.