journalduhacker/db/migrate/20121004153529_add_story_text.rb
joshua stein b641d0232d sort of merge cache branch but don't do anything automatically
allow manual caching of story text using diffbot, if an api key is
configured and Story#fetch_story_cache! is called
2013-06-30 00:54:01 -05:00

10 lines
168 B
Ruby

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