Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

20090401221305_update_enumerations_to_sti.rb 329B

1234567891011
  1. class UpdateEnumerationsToSti < ActiveRecord::Migration
  2. def self.up
  3. Enumeration.update_all("type = 'IssuePriority'", "opt = 'IPRI'")
  4. Enumeration.update_all("type = 'DocumentCategory'", "opt = 'DCAT'")
  5. Enumeration.update_all("type = 'TimeEntryActivity'", "opt = 'ACTI'")
  6. end
  7. def self.down
  8. # no-op
  9. end
  10. end