Mercurial > hg > soundsoftware-site
view .svn/pristine/0b/0b5c22ea9dff7e86156bbe2c3f813307405010ea.svn-base @ 1000:c2b09e16f9fa cannam
Merge from branch "insider"
author | Chris Cannam |
---|---|
date | Fri, 09 Nov 2012 14:41:49 +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