socialforge/db/migrate/20121026003537_populate_enu...

10 lines
182 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class PopulateEnumerationsPositionName < ActiveRecord::Migration
def up
IssuePriority.compute_position_names
end
def down
IssuePriority.clear_position_names
end
end