view .svn/pristine/6b/6bbafbe405df07af73d1843fdf80d06a981e814b.svn-base @ 1052:6674e52e20bf bibplugin_bibtex

outputting error/success messages using the flash div; still not cleaning the messages correctly.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Nov 2012 11:56:29 +0000
parents cbb26bc654de
children
line wrap: on
line source
class AddCustomFieldsVisible < ActiveRecord::Migration
  def self.up
    add_column :custom_fields, :visible, :boolean, :null => false, :default => true
    CustomField.update_all("visible = #{CustomField.connection.quoted_true}")
  end

  def self.down
    remove_column :custom_fields, :visible
  end
end