annotate db/migrate/095_add_wiki_pages_parent_id.rb @ 1157:13ab8b6e8132 redmine-2.2-integration

A couple of further html_safes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:55:45 +0000
parents 513646585e45
children
rev   line source
Chris@0 1 class AddWikiPagesParentId < ActiveRecord::Migration
Chris@0 2 def self.up
Chris@0 3 add_column :wiki_pages, :parent_id, :integer, :default => nil
Chris@0 4 end
Chris@0 5
Chris@0 6 def self.down
Chris@0 7 remove_column :wiki_pages, :parent_id
Chris@0 8 end
Chris@0 9 end