Nuevo plugin Private Wiki 0.2.0

This commit is contained in:
Manuel Cillero 2019-01-30 19:41:31 +01:00
parent 4e788bb03c
commit 49913ad11b
20 changed files with 480 additions and 0 deletions

View 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