journalduhacker/db/migrate/20121004153529_add_story_text.rb

10 lines
168 B
Ruby
Raw Normal View History

class AddStoryText < ActiveRecord::Migration
def up
add_column :stories, :story_cache, :text
end
def down
remove_column :stories, :story_cache
end
end