Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
1234567891011 |
- class UpdateEnumerationsToSti < ActiveRecord::Migration[4.2]
- def self.up
- Enumeration.where("opt = 'IPRI'").update_all("type = 'IssuePriority'")
- Enumeration.where("opt = 'DCAT'").update_all("type = 'DocumentCategory'")
- Enumeration.where("opt = 'ACTI'").update_all("type = 'TimeEntryActivity'")
- end
-
- def self.down
- # no-op
- end
- end
|