view .svn/pristine/0b/0b5c22ea9dff7e86156bbe2c3f813307405010ea.svn-base @ 1028:b8ae7b3af25a bibplugin_bibtex_display

Fixed wrong bibtex entries type when converting to bibtex format.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 13 Nov 2012 13:33:15 +0000
parents cbb26bc654de
children
line wrap: on
line source
class UpdateEnumerationsToSti < ActiveRecord::Migration
  def self.up
    Enumeration.update_all("type = 'IssuePriority'", "opt = 'IPRI'")
    Enumeration.update_all("type = 'DocumentCategory'", "opt = 'DCAT'")
    Enumeration.update_all("type = 'TimeEntryActivity'", "opt = 'ACTI'")
  end

  def self.down
    # no-op
  end
end