summaryrefslogtreecommitdiffstats
path: root/db/migrate/093_add_wiki_pages_protected.rb
blob: 49720fbb732e9e0898ec6f2b9a33cd00bdee2f15 (plain)
1
2
3
4
5
6
7
8
9
class AddWikiPagesProtected < ActiveRecord::Migration
  def self.up
    add_column :wiki_pages, :protected, :boolean, :default => false, :null => false
  end

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