Nuevo plugin Private Wiki 0.2.0
This commit is contained in:
parent
4e788bb03c
commit
49913ad11b
20 changed files with 480 additions and 0 deletions
12
plugins/redmine_private_wiki/db/migrate/001_add_private_wiki_attribute.rb
Executable file
12
plugins/redmine_private_wiki/db/migrate/001_add_private_wiki_attribute.rb
Executable file
|
@ -0,0 +1,12 @@
|
|||
class AddPrivateWikiAttribute < ActiveRecord::Migration
|
||||
def change
|
||||
#Add a "Private" attribute used to identify visibility of wikis
|
||||
add_column(:wiki_pages, "private", :boolean, :default => false)
|
||||
end
|
||||
|
||||
|
||||
def self.down
|
||||
remove_column(:wiki_pages, "private")
|
||||
end
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue