##// END OF EJS Templates
Rewrites UpdateMailNotificationValues migration to avoid model validations and failures....
Rewrites UpdateMailNotificationValues migration to avoid model validations and failures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4368 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1400:04766697357b
r4254:73167fb4f26b
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