Redmine/db/migrate/20121026003537_populate_enu...

10 lines
182 B
Ruby

class PopulateEnumerationsPositionName < ActiveRecord::Migration
def up
IssuePriority.compute_position_names
end
def down
IssuePriority.clear_position_names
end
end