socialforge/db/migrate/057_add_versions_wiki_page_...

10 lines
202 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddVersionsWikiPageTitle < ActiveRecord::Migration
def self.up
add_column :versions, :wiki_page_title, :string
end
def self.down
remove_column :versions, :wiki_page_title
end
end