Skip to content

Commit

Permalink
Add migration for rendered body
Browse files Browse the repository at this point in the history
  • Loading branch information
jm committed Feb 5, 2010
1 parent 03b2c39 commit 2cbb0b0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 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.