view db/migrate/095_add_wiki_pages_parent_id.rb @ 209:ff5112f823e5 feature_73

Merge from branch "feature_72", to provide just enough of the site support for external repos to permit testing while developing the conversion code
author Chris Cannam
date Tue, 08 Feb 2011 13:24:51 +0000
parents 513646585e45
children
line wrap: on
line source
class AddWikiPagesParentId < ActiveRecord::Migration
  def self.up
    add_column :wiki_pages, :parent_id, :integer, :default => nil
  end

  def self.down
    remove_column :wiki_pages, :parent_id
  end
end