##// END OF EJS Templates
More unit tests to cover hook_registered?
More unit tests to cover hook_registered?

File last commit:

r1400:04766697357b
r1707:e87140a719c2
Show More
093_add_wiki_pages_protected.rb
9 lines | 227 B | text/x-ruby | RubyLexer
/ db / migrate / 093_add_wiki_pages_protected.rb
Jean-Philippe Lang
Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes)....
r1400 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