view db/migrate/.svn/text-base/057_add_versions_wiki_page_title.rb.svn-base @ 471:49fb7a9ef79c feature_36

Using Authorships instead of Authors in the new/show actions of the publication controller.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 24 Jun 2011 15:11:30 +0100
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