view db/migrate/093_add_wiki_pages_protected.rb @ 946:a0c9cc95bcf3 bibplugin_bibtex

Now parses a publication using the BibTex-ruby parser and displays both the "text" format and the bibtex format.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 12 Jul 2012 17:47:15 +0100
parents 513646585e45
children
line wrap: on
line source
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