b641d0232d
allow manual caching of story text using diffbot, if an api key is configured and Story#fetch_story_cache! is called
10 lines
168 B
Ruby
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
|