view db/migrate/057_add_versions_wiki_page_title.rb @ 1074:b98e55985cb7 luisf

Merge
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 21 Nov 2012 16:04:55 +0000
parents 513646585e45
children
line wrap: on
line source
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